From a2ecc1bdb6bd2e7bd25171be8f16d6dd1a477df8 Mon Sep 17 00:00:00 2001 From: elhombretecla Date: Tue, 3 Nov 2020 19:04:09 +0100 Subject: [PATCH] :sparkles: Fix Components grid and text-size input --- .../resources/styles/main/partials/sidebar-assets.scss | 7 ++++--- .../styles/main/partials/sidebar-element-options.scss | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/resources/styles/main/partials/sidebar-assets.scss b/frontend/resources/styles/main/partials/sidebar-assets.scss index 8917dfaed..7fdb78372 100644 --- a/frontend/resources/styles/main/partials/sidebar-assets.scss +++ b/frontend/resources/styles/main/partials/sidebar-assets.scss @@ -92,7 +92,7 @@ color: $color-gray-10; border: 1px solid transparent; border-bottom-color: $color-gray-40; - padding: $x-small $x-small 0 $x-small; + padding: $x-small; margin: $small $small $medium $small; &:focus { @@ -102,7 +102,7 @@ option { color: $color-gray-60; background: $color-white; - font-size: $fs11; + font-size: $fs12; } } @@ -186,12 +186,13 @@ } .grid-cell { - background-color: $color-white; + background-color: $color-canvas; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; + padding: $small; position: relative; cursor: pointer; diff --git a/frontend/resources/styles/main/partials/sidebar-element-options.scss b/frontend/resources/styles/main/partials/sidebar-element-options.scss index 25496e094..b24ef1c5e 100644 --- a/frontend/resources/styles/main/partials/sidebar-element-options.scss +++ b/frontend/resources/styles/main/partials/sidebar-element-options.scss @@ -953,11 +953,12 @@ } .size-option .custom-select-dropdown { - position: fixed; + cursor: pointer; max-height: 16rem; min-width: 6rem; margin-top: 25px; left: initial; + top: 0; } .typography-read-only-data {