mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 00:03:56 +00:00
Remove monobook selectors that assumed the '*' selector might not be available
None of the browsers we send JS to don't support the '*' selector, so we can remove the fallback for monobook. Change-Id: I691a71fc8bf4cfa62e8056fdf1021f6513517f75
This commit is contained in:
parent
6aa5081c01
commit
f08e51741c
|
@ -11,20 +11,8 @@
|
|||
body.mw-mmv-lightbox-open {
|
||||
overflow-y: auto;
|
||||
|
||||
/* stylelint-disable selector-max-id */
|
||||
#mw-page-base,
|
||||
#mw-head-base,
|
||||
#mw-navigation,
|
||||
#content,
|
||||
#footer,
|
||||
#globalWrapper { // monobook
|
||||
/** Stop the article from scrolling in the background - skin-specific but works in any browser */
|
||||
display: none;
|
||||
}
|
||||
/* stylelint-enable selector-max-id */
|
||||
|
||||
// Stop the article from scrolling in the background
|
||||
> * {
|
||||
/** Stop the article from scrolling in the background - works with any skin but needs modern browser */
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue