mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +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 */
|
||||
ul, li, ol {
|
||||
margin: 0;
|
||||
|
|
|
@ -50,6 +50,10 @@
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// assume date
|
||||
small i {
|
||||
color: var( --color-subtle );
|
||||
|
|
|
@ -196,6 +196,9 @@
|
|||
"mobile.init.styles": [
|
||||
"skinStyles/mobile.init.styles/mobile.less"
|
||||
],
|
||||
"mobile.mediaViewer": [
|
||||
"skinStyles/mobile.mediaViewer.less"
|
||||
],
|
||||
"mobile.special.nearby.styles": [
|
||||
"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;
|
||||
}
|
||||
|
||||
.with-results,
|
||||
.without-results {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.clear {
|
||||
background: none;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue