From 2cc41bbbff43b98c6d36ea474438a9faaa330b77 Mon Sep 17 00:00:00 2001 From: Isarra Date: Mon, 26 Aug 2019 21:06:53 +0000 Subject: [PATCH] Make editsection icon part of first editsection link It's sort of attached to it regardless; might as well make it clickable (especially since the first one is going to be shorter usually regardless) Change-Id: I40f02240c0c6e447a7042546a0392a52a0f4910c --- resources/extensions/VisualEditor.article.less | 9 +++++++++ resources/screen-common.less | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/resources/extensions/VisualEditor.article.less b/resources/extensions/VisualEditor.article.less index 95670e6..3e8cb40 100644 --- a/resources/extensions/VisualEditor.article.less +++ b/resources/extensions/VisualEditor.article.less @@ -20,4 +20,13 @@ } } } + + .client-nojs, + .ve-not-available { + .mw-editsection a { + // make the icon part of the link + padding-left: 20px; + margin-left: -20px; + } + } } diff --git a/resources/screen-common.less b/resources/screen-common.less index 4136453..321ec45 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -379,6 +379,12 @@ a.mw-selflink { display: inline-block; padding: 0.5em 0 0.25em; margin-right: 1em; + + &:first-of-type { + // make the icon part of the first link + padding-left: 20px; + margin-left: -20px; + } } }