发布

  • [OPIK-4755] [FE] Fix break-all CSS on links causing broken truncation in Firefox (#5522)

    frostbyte_neo 发布于 2026-03-05 11:49:09 +00:00

    Remove word-break: break-all from link className in LinkifyText component.
    The break-all property on elements interferes with Firefox inline
    layout inside truncate spans (overflow: hidden; white-space: nowrap;
    text-overflow: ellipsis), causing cells to render from the middle of the
    string instead of the beginning. Chrome is unaffected.

    All consumer sites verified safe:

    • PrettyCell (truncate mode): was the bug, now fixed
    • PrettyCell (expanded mode): parent has break-words, no impact
    • TextCell (truncate mode): same bug pattern, now fixed
    • TextCell (expanded mode): parent has break-words, no impact
    • MarkdownHighlighter: whitespace-pre-wrap handles wrapping, no impact
    • CompareExperimentsConfigCell: parent has break-words, no impact
    • TextAndMediaContentRenderer (both modes): same patterns as above
    下载附件