OscarUsingChen
V2EX  ›  V2EX

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

  •  
  •   OscarUsingChen · Feb 21, 2015 · 3428 views
    This topic created in 4124 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
        1
    linhua  
       Feb 21, 2015
    @Livid Archlinux下firefox同有此问题 2015-2-21.01:06
    kslr
        2
    kslr  
       Feb 21, 2015 via Android
    Winsows/opensuse Firefox都有这个问题
    OscarUsingChen
        3
    OscarUsingChen  
    OP
       Feb 21, 2015
    呃,在修复之前先用这个Style凑合一下吧

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