From 10dd200712aa5166ccb8772e97e61f460df18d75 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 19 Sep 2024 13:52:58 +0100 Subject: [PATCH] Add top margin to "Edit template data" button On skins where the toolbar has no bottom margin (Vector 2022, Timeless) this fixes the lack of gap between the toolbar and the button. On skins that have a bottom margin on the toolbar (Vector legacy, monobook), this will have no effect due to margin collapse. Bug: T375187 Change-Id: Id0a3e5696a9d6b7b7a2849483e81b38b426165c4 --- .../templateDataGenerator.ui.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less index b4579a54..5f3635ef 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less +++ b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less @@ -1,5 +1,5 @@ .tdg-editscreen-main { - margin-bottom: 1em; + margin: 1em 0; .skin-vector-legacy .ve-init-mw-desktopArticleTarget-originalContent & { font-size: (14 / 16em);