mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 15:40:15 +00:00
Reset: Drop p and div inside overlays
Required for proper presentation of page issues overlay and multimedia viewer. The div rules were unnecessary. Bug: T205341 Change-Id: I6fea0f2013a11e5248b71619b795d794c8ed18ad
This commit is contained in:
parent
50a55bce7d
commit
145db70286
|
@ -1,4 +1,3 @@
|
||||||
div, p,
|
|
||||||
/* needed for navigation elements and content */
|
/* needed for navigation elements and content */
|
||||||
ul, li, ol {
|
ul, li, ol {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -50,6 +50,10 @@
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
// assume date
|
// assume date
|
||||||
small i {
|
small i {
|
||||||
color: var( --color-subtle );
|
color: var( --color-subtle );
|
||||||
|
|
|
@ -196,6 +196,9 @@
|
||||||
"mobile.init.styles": [
|
"mobile.init.styles": [
|
||||||
"skinStyles/mobile.init.styles/mobile.less"
|
"skinStyles/mobile.init.styles/mobile.less"
|
||||||
],
|
],
|
||||||
|
"mobile.mediaViewer": [
|
||||||
|
"skinStyles/mobile.mediaViewer.less"
|
||||||
|
],
|
||||||
"mobile.special.nearby.styles": [
|
"mobile.special.nearby.styles": [
|
||||||
"skinStyles/mobile.special.nearby.styles.less"
|
"skinStyles/mobile.special.nearby.styles.less"
|
||||||
],
|
],
|
||||||
|
|
9
skinStyles/mobile.mediaViewer.less
Normal file
9
skinStyles/mobile.mediaViewer.less
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
.overlay.media-viewer {
|
||||||
|
.image-details .truncated-text {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.license {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
|
@ -9,6 +9,11 @@
|
||||||
top: @height-site-header;
|
top: @height-site-header;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.with-results,
|
||||||
|
.without-results {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
background: none;
|
background: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in a new issue