Project

General

Profile

Actions

Task #3199

closed

Lines don't wrap correctly on AskLibO

Added by Mike Kaganski over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
AskLibO
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

Since recently, lines in questions, answers and comments are not wrapped by word boundaries on AskLibO anymore, but break in the middle of a word. See e.g. https://ask.libreoffice.org/en/question/241343, which title looks for me like

Why are comments on Ask LibreOffice not wrap
ped correctly?

i.e., first four characters of "wrapped" are on first line, and the rest on the second.

Actions #1

Updated by Beluga Beluga over 4 years ago

The cause is this CSS rule:

.question-page .post-content {
    word-break: break-all;
}

I think a better value would be break-word, but it is not supported in Internet Explorer. Or just forget about the whole rule.

Actions #2

Updated by Florian Effenberger over 4 years ago

  • Assignee set to Evgeny Fadeev

Evgeny, can you have a look? :)

Actions #3

Updated by Guilhem Moulin over 4 years ago

  • Category set to AskLibO

Evgeny, can you have a look? :)

Meanwhile I blindly applied proposed Beluga's fix to /srv/ask/node2_*/tdf/media/style/extra.css.

Actions #4

Updated by Mike Kaganski over 4 years ago

Meanwhile I blindly applied proposed Beluga's fix to /srv/ask/node2_*/tdf/media/style/extra.css.

That helped; thanks Guilhem!

Actions #5

Updated by Evgeny Fadeev over 4 years ago

Applied this to the theme repo.

Actions #6

Updated by Evgeny Fadeev over 4 years ago

break-word is safer for the text, although sometimes there is an extra-long word usually from some computer code that won't fit.

Actions #7

Updated by Guilhem Moulin over 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF