shintendo
V2EX  ›  V2EX

v2ex 的 CSS 好像有点问题,楼层回复里面遇到字母数字就会换行

  •  
  •   shintendo · Jan 18, 2019 · 4208 views
    This topic created in 2677 days ago, the information mentioned may be changed or developed.

    看了一下好像是 word-break: keep-all 这个属性,导致后面的整行中文没法断开,就在前面断开了?

    8 replies    2019-01-18 14:07:09 +08:00
    shintendo
        1
    shintendo  
    OP
       Jan 18, 2019
    https://www.v2ex.com/t/528154
    这个帖子的 16L、20L
    GDC
        2
    GDC  
       Jan 18, 2019
    是的,今天手机上看帖,好多回复都莫名其妙就换行了
    sike03
        3
    sike03  
       Jan 18, 2019
    shintendo
        4
    shintendo  
    OP
       Jan 18, 2019


    这个帖子的标题也断行了
    zbinlin
        5
    zbinlin  
       Jan 18, 2019
    V2exUser
        6
    V2exUser  
       Jan 18, 2019 via Android
    666
    Livid
        7
    Livid  
    MOD
    PRO
       Jan 18, 2019
    1. 非常感谢大家的反馈。
    2. 最近有些样式上的更改,确实测试不足。
    3. 刚刚又推了一个更新。期待大家的后续反馈。

    谢谢!
    Livid
        8
    Livid  
    MOD
    PRO
       Jan 18, 2019
    而且这件事情看起来是个坑,现在在 Firefox 上还是有问题。

    https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3015 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 12:29 · PVG 20:29 · LAX 05:29 · JFK 08:29
    ♥ Do have faith in what you're doing.