OscarUsingChen
V2EX  ›  V2EX

Firefox 下,主题的回复不会自动换行

  •  
  •   OscarUsingChen · Feb 21, 2015 · 3805 views
    This topic created in 4288 days ago, the information mentioned may be changed or developed.

    示意图请戳 http://d.pr/i/1a39q

    最近几天才开始的。Win/Mac下的FF有此问题;Mac下Safari无此问题;Win下Chrome无此问题。


    原因大概是在shared.css:624这里规定了word-break的值
    .reply_content {
    font-size: 14px;
    line-height: 1.6;
    color: #000;
    word-break: keep-all; <<<<<<<
    word-wrap: break-word;
    }

    把keep-all改成normal则没有此问题

    6 replies  •  2015-02-21 07:34:51 +08:00
    linhua
    linhua
    Feb 21, 2015
    1
    @Livid Archlinux下firefox同有此问题 2015-2-21.01:06
    kslr
    kslr
    Feb 21, 2015 via Android
    2
    Winsows/opensuse Firefox都有这个问题
    OscarUsingChen
    OscarUsingChen
    OP
    Feb 21, 2015
    3
    呃,在修复之前先用这个Style凑合一下吧

    @-moz-document domain("v2ex.com"){
    .topic_content, .reply_content{
    word-break: normal !important;
    }
    }
    oott123
    oott123
    Feb 21, 2015 via Android
    4
    我还以为是我插件打太多了出的问题…
    sumhat
    sumhat
    Feb 21, 2015
    5
    Chrome 大法好.....
    Livid
    Livid
    MOD
    PRO
    Feb 21, 2015
    6
    收到。现在解决。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2072 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 15:03 · PVG 23:03 · LAX 07:03 · JFK 10:03
    ♥ Do have faith in what you're doing.