From c3eb1abb904877ca45ec2367225b6459b3c22860 Mon Sep 17 00:00:00 2001 From: thiemowmde Date: Wed, 23 Aug 2023 13:59:03 +0200 Subject: [PATCH] Fix "Add new map" button overflowing in other languages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit E.g. in German it says "Neue Zuordnung hinzufügen". The long string peaks into the other UI elements because OOUI enforces some `nowrap` for no good reason. Change-Id: Ib5f8584d4ac652479d6f646dcaa8cf06654832fd --- .../templateDataGenerator.ui.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less index ff6cbce5..6bd5cb49 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less +++ b/modules/ext.templateDataGenerator.editTemplatePage/templateDataGenerator.ui.less @@ -104,3 +104,8 @@ .tdg-languageResultWidget-highlight { font-weight: bold; } + +.mw-templateData-template-add-map-button .oo-ui-buttonElement-button { + text-align: left; + white-space: normal; +}