From ce00bdebcb75f3dcb2c0d9f5bc308a82378ba891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Sch=C3=BCttl=C3=B6ffel?= <schuettloeffel@zqs.uni-hannover.de> Date: Sat, 27 May 2023 07:46:50 +0000 Subject: [PATCH] =?UTF-8?q?Resolve=20"Sch=C3=B6nheitskorrekturen=20am=20al?= =?UTF-8?q?ten=20Editor"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2633 Merge request studip/studip!1787 --- resources/assets/stylesheets/scss/i18n.scss | 19 +++++++++++++------ resources/assets/stylesheets/studip.less | 3 ++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/resources/assets/stylesheets/scss/i18n.scss b/resources/assets/stylesheets/scss/i18n.scss index 7239879bec1..9a2a0bf8306 100644 --- a/resources/assets/stylesheets/scss/i18n.scss +++ b/resources/assets/stylesheets/scss/i18n.scss @@ -3,16 +3,14 @@ div.i18n_group { position: relative; > select.i18n { - border: 0; - border-right: 1px solid $light-gray-color-40; - border-bottom: 1px solid $light-gray-color-40; + border: 1px solid $light-gray-color-40; border-radius: 0; box-sizing: border-box; margin: 0 !important; position: absolute; - top: 1px; - left: 1px; - height: 31px; + top: 0px; + left: 0px; + height: 32px; overflow: hidden; max-width: $max-width; @@ -34,5 +32,14 @@ div.i18n_group { input[type=text], > textarea, .editor_toolbar .buttons, .ck-toolbar { padding-left: ($max-width + 6px) !important; } + + > div.editor_toolbar { + > div.buttons { + height: 31px; + } + > textarea { + margin-top: 0; + } + } } } diff --git a/resources/assets/stylesheets/studip.less b/resources/assets/stylesheets/studip.less index d0ba0564472..6c6cd33ff6f 100644 --- a/resources/assets/stylesheets/studip.less +++ b/resources/assets/stylesheets/studip.less @@ -205,7 +205,8 @@ div.overdiv { display: inline-block; height: 1.4em; line-height: 1.4; - padding: 0.4em 1em; + padding-top: 6px; + padding-bottom: 6px; &:hover { background-color: @base-color-60; -- GitLab