mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Follow-up ea856105f2
: fix horizontal scrollbars in Monobook
A positive text-indent causes horizontal scrollbars, so just hide the screenreader text by making it transparent, and accept that we're going to have the hover tooltip issue (T161302) in Monobook. Bug: T226594 Change-Id: I6cb9ec146c2b469cbfb1fdc57937794d237e46db
This commit is contained in:
parent
1c3cb04618
commit
d3653c649a
|
@ -9,10 +9,9 @@
|
|||
height: 16px;
|
||||
background-size: 16px 16px;
|
||||
top: -1px;
|
||||
// HACK: text-indent: -9999px doesn't work with display: inline-block, so hide the text
|
||||
// using a positive text-indent instead (T226503). Also make the text transparent so that
|
||||
// it doesn't show up even if someone does somehow have a 10k-pixel-wide monitor.
|
||||
text-indent: 9999px;
|
||||
// HACK: text-indent: -9999px doesn't work with display: inline-block, and using a
|
||||
// positive text-indent causes scrollbars (T226594). Hide the text by making it
|
||||
// transparent, and accept that this will cause some tooltip weirdness (T161302).
|
||||
color: transparent;
|
||||
|
||||
&:after {
|
||||
|
|
Loading…
Reference in a new issue