From e42a655e9a75fa7cdeb417fcd0debf7d7b5c56eb Mon Sep 17 00:00:00 2001 From: Jan Drewniak Date: Tue, 26 Mar 2019 13:11:16 +0100 Subject: [PATCH] Fix alignment of "learn-more" link on page-issues Fixes the extra padding below the page-issues boxes as well as the alignment of the "learn-more" link relative to the rest of the text in the issues box. Bug: T214549 Change-Id: I691254af76c65a3d620ec28bce6bb16b8977607d --- resources/skins.minerva.content.styles/templates/ambox.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.minerva.content.styles/templates/ambox.less b/resources/skins.minerva.content.styles/templates/ambox.less index 59623ecce..ffe6b5806 100644 --- a/resources/skins.minerva.content.styles/templates/ambox.less +++ b/resources/skins.minerva.content.styles/templates/ambox.less @@ -42,7 +42,7 @@ table.ambox { // https://phabricator.wikimedia.org/T206887 suggests .mbox-text-div is also needed. .mbox-text-div, .mbox-text-span { - display: inline-block; + display: block; max-height: @contentLineHeight * 2em; // All will have this height (approx 2 lines) even if a single line e.g. {{dictdef}} when on mobile. // Overriden later in tablet styles.