Difference between revisions of "Template talk:Main Page Layout"
(→Scrolling the planet box) |
(→Scrolling the planet box: "overflow-x:auto;" might be the correct incantation.) |
||
Line 9: | Line 9: | ||
--[[User:Murph|Murph]] ([[User talk:Murph|talk]]) 22:19, 5 June 2015 (UTC) | --[[User:Murph|Murph]] ([[User talk:Murph|talk]]) 22:19, 5 June 2015 (UTC) | ||
:Do you know of a way to prevent that an unnecessary scollbar is shown (e.g. if you window is wide enough)? — [[User:XZise|xZise]] <small>[[[User talk:XZise|talk]]]</small> 16:24, 8 June 2015 (UTC) | :Do you know of a way to prevent that an unnecessary scollbar is shown (e.g. if you window is wide enough)? — [[User:XZise|xZise]] <small>[[[User talk:XZise|talk]]]</small> 16:24, 8 June 2015 (UTC) | ||
+ | |||
+ | ::Ahhh, good catch. I don't have that problem, as OS X auto-hides all scroll bars by default (everywhere, which took a lot of getting used to, but I've grown to like it). I've changed the sandbox version to "overflow-x: auto;", which may improve things for you. Apologies, I just quickly tried out "scroll" from memory, and forgot the alternative "auto" option. | ||
+ | ::{{fullurl:Template:Main_Page_Layout/sandbox|diff=64496&oldid=64275}} (diff from current to version with "auto" in it). | ||
+ | ::--[[User:Murph|Murph]] ([[User talk:Murph|talk]]) 16:33, 8 June 2015 (UTC) |
Revision as of 16:33, 8 June 2015
Scrolling the planet box
Something which bugs me about the current Main Page, is that the planet box forces the entire page into horizontal scrolling mode unless you have a very wide browser window. I appreciate that many people are on wide screen displays these days, as am I, but it looks bad when your window is narrow. Personally, I almost always use my widescreen display with 2 portrait-format windows side by side, and almost never with my windows actually in widescreen format. I'm certain that I'm not alone in that. Here is a suggested change for consideration, which makes the planet box horizontally scrollable, so that the remainder of the page does not scroll (and it also adds a class to the containing box, which I regard as good practice):
I don't know about anyone else, but I just find it ugly when a single piece of content overflows right off the side of the browser window, and the majority of the content fits just fine. I think the planets look good at the size they are right now, so enabling them to scroll without overflow on narrower windows seems like a good solution.
--Murph (talk) 22:19, 5 June 2015 (UTC)
- Do you know of a way to prevent that an unnecessary scollbar is shown (e.g. if you window is wide enough)? — xZise [talk] 16:24, 8 June 2015 (UTC)
- Ahhh, good catch. I don't have that problem, as OS X auto-hides all scroll bars by default (everywhere, which took a lot of getting used to, but I've grown to like it). I've changed the sandbox version to "overflow-x: auto;", which may improve things for you. Apologies, I just quickly tried out "scroll" from memory, and forgot the alternative "auto" option.
- https://wiki.kerbalspaceprogram.com/index.php?title=Template:Main_Page_Layout/sandbox&diff=64496&oldid=64275 (diff from current to version with "auto" in it).
- --Murph (talk) 16:33, 8 June 2015 (UTC)