mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Remove min-width/-moz-any-link hack for vectorMenu in old Firefox
I've tested as far back as Firefox 3.6 on Windows XP and Firefox 16 on Windows 8 (localhost tunnel via BrowserStack), and could not find any rendering issue with the menu. For Firefox 3.6 it is Grade C without JavaScript, so the menu only appears when logged-in (e.g. as admin) where it contains Delete, Protect, and Move. For Firefox 16 it is Grad A with JavaScript, and the menu can also can be seen by narrowing the browser window when logged-out until the History tab turns into a menu. In both cases, the menu rendered without issue both with and without these two rules. Change-Id: I4946b115595424fdcf74429b237e0c2ee5715fc3
This commit is contained in:
parent
75711ed669
commit
8795cee025
|
@ -195,23 +195,6 @@
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
// stylelint-disable selector-no-vendor-prefix, selector-type-no-unknown
|
||||
|
||||
/* Fixes old versions of FireFox */
|
||||
.vectorMenu ul,
|
||||
x:-moz-any-link {
|
||||
min-width: 5em;
|
||||
}
|
||||
|
||||
/* Returns things back to normal in modern versions of FireFox */
|
||||
.vectorMenu ul,
|
||||
x:-moz-any-link,
|
||||
x:default {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
// stylelint-enable selector-no-vendor-prefix, selector-type-no-unknown
|
||||
|
||||
.vectorMenu li {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in a new issue