[opensuse-web] Wiki: Word wrapping broken with new theme
Hi! The new theme on en.opensuse.org looks really great! Kudos to Guo Yunhe on his great work. There seems to be a problem, however: lines don't wrap any more and simply get cut off where the text width ends. See https://en.opensuse.org/Features_15.0 Since this is one of the major publicity pages for openSUSE:Leap:15.0, hopefully it can be fixed urgently. Thanks! -- Atri Bhattacharya Mon 28 May 11:52:12 CEST 2018 Sent from "openSUSE Tumbleweed" 20180523. -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
On Mon, 2018-05-28 at 11:56 +0200, Atri Bhattacharya wrote:
Hi! The new theme on en.opensuse.org looks really great! Kudos to Guo Yunhe on his great work.
There seems to be a problem, however: lines don't wrap any more and simply get cut off where the text width ends. See https://en.opensuse.org/Features_15.0 Since this is one of the major publicity pages for openSUSE:Leap:15.0, hopefully it can be fixed urgently.
Follow-up: it was being caused by the usage of float:left in the div style. For this particular page, it is fixed by this change: https://en.opensuse.org/index.php?title=Features_15.0&diff=126308&oldid=125998 Perhaps, this needs to be handled by the theme eventually so that other pages using <div style="float:left;"> wouldn't need to be fixed individually. But that doesn't seem so urgent now. Cheers. -- Atri Bhattacharya Mon 28 May 12:08:23 CEST 2018 Sent from "openSUSE Tumbleweed" 20180523 on mal.theo.phys.ulg.ac.be. -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
Hi Atri, This is a layout issue. The wiki code has some lines with leading space. In MediaWiki, it is treated as preformated text (<pre></pre> in HTML). <pre></pre> doesn't wrap. So the page container becomes too wide so line end cannot show. I have edited the page now it should look normal. In next skin update, this will be solved with CSS overflow rules. I have an open issue in Github for all skin related improvement requests, you are welcome to comment there: https://github.com/openSUSE/wiki/issues/23 Atri Bhattacharya <badshah400@gmail.com> 于2018年5月28日周一 下午12:57写道:
Hi! The new theme on en.opensuse.org looks really great! Kudos to Guo Yunhe on his great work.
There seems to be a problem, however: lines don't wrap any more and simply get cut off where the text width ends. See https://en.opensuse.org/Features_15.0 Since this is one of the major publicity pages for openSUSE:Leap:15.0, hopefully it can be fixed urgently.
Thanks! -- Atri Bhattacharya Mon 28 May 11:52:12 CEST 2018
Sent from "openSUSE Tumbleweed" 20180523. -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
-- 郭云鹤/Guo Yunhe -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
On Mon, 2018-05-28 at 13:19 +0300, Yunhe Guo wrote:
Hi Atri,
This is a layout issue. The wiki code has some lines with leading space. In MediaWiki, it is treated as preformated text (<pre></pre> in HTML). <pre></pre> doesn't wrap. So the page container becomes too wide so line end cannot show.
I have edited the page now it should look normal. In next skin update, this will be solved with CSS overflow rules.
I have an open issue in Github for all skin related improvement requests, you are welcome to comment there: https://github.com/openSUSE/wiki/issues/23
Thanks, so it wasn't the float:left div then. Cheers.
Atri Bhattacharya <badshah400@gmail.com> 于2018年5月28日周一 下午12:57写道:
Hi! The new theme on en.opensuse.org looks really great! Kudos to Guo Yunhe on his great work. There seems to be a problem, however: lines don't wrap any more and simply get cut off where the text width ends. See https://en.opensuse.org/Features_15.0 Since this is one of the major publicity pages for openSUSE:Leap:15.0, hopefully it can be fixed urgently. Thanks! -- Atri Bhattacharya Mon 28 May 11:52:12 CEST 2018 Sent from "openSUSE Tumbleweed" 20180523. -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
-- Atri Bhattacharya Mon 28 May 12:19:19 CEST 2018 Sent from "openSUSE Tumbleweed" 20180523 on mal.theo.phys.ulg.ac.be. -- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org
participants (2)
-
Atri Bhattacharya
-
Yunhe Guo