Re: com web/php: Prevent random horizontal scroll http://i.imgur.com/3lt53pY.png: styles/theme-medium.css
| From: | Dejan Marjanovic | Date: | Sun, 15 Dec 2013 02:51:19 +0000 |
| Subject: | Re: com web/php: Prevent random horizontal scroll http://i.imgur.com/3lt53pY.png: styles/theme-medium.css | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-17632@lists.php.net to get a copy of this message | ||
On Sun, Dec 15, 2013 at 3:27 AM, Hannes Magnusson <
hannes.magnusson@gmail.com> wrote:
> On Sat, Dec 14, 2013 at 11:12 AM, Dejan Marjanovic <dm@php.net> wrote:
> > Commit: 636a7e494b48f9eef29bf99bb13326a7ffd5d693
> > Author: Dejan Marjanovic <dejan.marjanovic@gmail.com> Sat,
> 14 Dec 2013 20:12:14 +0100
> > Parents: d9f615b9dd2275c9daa0482cc3da63200ee020e0
> > Branches: master
> >
> > Link:
>
> http://git.php.net/?p=web/php.git;a=commitdiff;h=636a7e494b48f9eef29bf99bb13326a7ffd5d693
> >
> > Log:
> > Prevent random horizontal scroll
> > http://i.imgur.com/3lt53pY.png
> >
> > Changed paths:
> > M styles/theme-medium.css
> >
> >
> > Diff:
> > diff --git a/styles/theme-medium.css b/styles/theme-medium.css
> > index 5223425..fcbf44b 100755
> > --- a/styles/theme-medium.css
> > +++ b/styles/theme-medium.css
> > @@ -19,6 +19,7 @@ html {
> > body {
> > background:#fff;
> > color: black;
> > + overflow-x: hidden;
> > }
>
>
> I think this is just a workaround.. there is actually text that does
> indeed overflow the page (user contributed notes with code seems to be
> a reason).
>
> Unsure how you triggered it on the frontpage, but likely there is
> something that is overflowing so that should probably be fixed in
> stead?
>
> -Hannes
>
Unfortunately, I don't think so. I've evaluated all elements on page,
gathered outherwidth etc. and none seem to overflow.
It is probably something Bootstrap related:
https://github.com/twbs/bootstrap/issues/10711
(although v3 is in questions
here)
I could just reproduce in Firefox when the page is not at 100% zoom.
Yes, this is hack, but maybe keep it until I figure out. Other browsers
don't have this issue it appears. <http://php.net>