diff --git a/resources/skins.minerva.base.styles/reset.less b/resources/skins.minerva.base.styles/reset.less index b8cc60171..ef8395125 100644 --- a/resources/skins.minerva.base.styles/reset.less +++ b/resources/skins.minerva.base.styles/reset.less @@ -1,4 +1,3 @@ -div, p, /* needed for navigation elements and content */ ul, li, ol { margin: 0; diff --git a/resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less b/resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less index 44f3653c1..5563b43c2 100644 --- a/resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less +++ b/resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less @@ -50,6 +50,10 @@ line-height: 1; } + p { + margin: 0; + } + // assume date small i { color: var( --color-subtle ); diff --git a/skin.json b/skin.json index 372434ff7..7daad86de 100644 --- a/skin.json +++ b/skin.json @@ -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" ], diff --git a/skinStyles/mobile.mediaViewer.less b/skinStyles/mobile.mediaViewer.less new file mode 100644 index 000000000..32a91ca0e --- /dev/null +++ b/skinStyles/mobile.mediaViewer.less @@ -0,0 +1,9 @@ +.overlay.media-viewer { + .image-details .truncated-text { + margin: 0; + } + + .license { + margin-bottom: 0; + } +} diff --git a/skinStyles/mobile.startup/search/SearchOverlay.less b/skinStyles/mobile.startup/search/SearchOverlay.less index 9d93bec70..72d912f05 100644 --- a/skinStyles/mobile.startup/search/SearchOverlay.less +++ b/skinStyles/mobile.startup/search/SearchOverlay.less @@ -9,6 +9,11 @@ top: @height-site-header; } + .with-results, + .without-results { + margin: 0; + } + .clear { background: none; position: absolute;