Fandom Developers Wiki
Advertisement

This is the talk page for discussing improvements to the MediaWiki:Common.css page.

Overflow Issues[]

Scripts and styles with long strings all on one line don't have correct overflow properties. Under div.pre there needs to be overflow:scroll; or something along the lines of that.
~Curiouscrab (talk) 18:05, July 8, 2015 (UTC)

Do you have an example? div.pre isn't a valid selector afaik, so I'm not sure what you're referring to. cqm 08:14, 9 Jul 2015 (UTC)
Simply just use
pre, source, syntaxhighlight {
overflow:scroll;
}
and it should work.
~Curiouscrab (talk) 18:20, July 9, 2015 (UTC)
Sorry, but where is this an issue exactly? cqm 21:01, 9 Jul 2015 (UTC)
Example in Monobook.
~Curiouscrab (talk) 17:22, July 10, 2015 (UTC)
Ah, I see it now. I've copied over the styling from oasis, although I've left out source and syntaxhighlight as those are only tags in wikitext, not HTML - they're parsed and end up being pre. cqm 06:50, 11 Jul 2015 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── Wouldn’t it be better to have those long lines wrap? I have it set globally for me to have those lines wrap, and it’s much better … in my humble opinion. :) — SpikeToronto 09:14, July 11, 2015 (UTC)

Though wrap would solve the issue, it makes scripts harder to follow since they just randomly cut off.
~Curiouscrab (talk) 15:14, July 12, 2015 (UTC)

CSS Reversal[]

Well I'm glad that happened. The custom CSS was very un-aesthetically pleasing. — Ozank 18:21, November 25, 2016 (UTC)

Advertisement