From f178228a65a01a2deb6f3dd169acf68305d08334 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Fri, 3 Aug 2018 08:59:17 +0800 Subject: [PATCH] Correct blur position in tablet mode Addresses problem where text reads like an incomplete sentence on tablet, see https://phabricator.wikimedia.org/T197931#4475197 Bug: T197931 Change-Id: I71aba2c53570196f51c9e833b1a6d69b2dc983ad --- .../skins.minerva.content.styles/templates/ambox.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/skins.minerva.content.styles/templates/ambox.less b/resources/skins.minerva.content.styles/templates/ambox.less index ca85fbc5c..51a983bab 100644 --- a/resources/skins.minerva.content.styles/templates/ambox.less +++ b/resources/skins.minerva.content.styles/templates/ambox.less @@ -133,8 +133,14 @@ table.ambox { } .ambox-learn-more { left: @amboxIconPadding; - right: auto; + right: 0; background: none; + // Move blur to far right last line + // https://phabricator.wikimedia.org/T197931#4475197 + &:before { + top: unit( -@contentLineHeight, em ); + width: 10px; + } } }