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:
Jon Robson 2024-02-13 18:55:25 -08:00 committed by Jdlrobson
parent 50a55bce7d
commit 145db70286
5 changed files with 21 additions and 1 deletions

View file

@ -1,4 +1,3 @@
div, p,
/* needed for navigation elements and content */
ul, li, ol {
margin: 0;

View file

@ -50,6 +50,10 @@
line-height: 1;
}
p {
margin: 0;
}
// assume date
small i {
color: var( --color-subtle );

View file

@ -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"
],

View file

@ -0,0 +1,9 @@
.overlay.media-viewer {
.image-details .truncated-text {
margin: 0;
}
.license {
margin-bottom: 0;
}
}

View file

@ -9,6 +9,11 @@
top: @height-site-header;
}
.with-results,
.without-results {
margin: 0;
}
.clear {
background: none;
position: absolute;