From ef259c20ceab0125a4907d19cb60f3d7f233181b Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Wed, 9 Dec 2020 22:29:45 +0100 Subject: [PATCH] Fix element_tools icon position --- app/assets/stylesheets/alchemy/elements.scss | 21 +++++++------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/app/assets/stylesheets/alchemy/elements.scss b/app/assets/stylesheets/alchemy/elements.scss index e293627ac1..d6e4b0754f 100644 --- a/app/assets/stylesheets/alchemy/elements.scss +++ b/app/assets/stylesheets/alchemy/elements.scss @@ -221,21 +221,10 @@ } } - .element_tools { - display: flex; - width: 100%; - justify-content: space-between; - margin-left: 0; - } - .element-content { margin: 4px 8px; } - .button_with_label { - margin: 0 4px; - } - .content_editor, .picture_thumbnail { width: 100%; @@ -338,10 +327,14 @@ padding: $default-padding 0; height: $element-toolbar-height; border-bottom: 1px solid $medium-gray; +} - .element_tools { - float: left; - margin-left: -$default-margin; +.element_tools { + display: flex; + width: 100%; + + .button_with_label { + margin: 0 2px; } }