From e313c0cea0ea0852161006f3338f871c0cafed5d Mon Sep 17 00:00:00 2001 From: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Date: Wed, 9 Dec 2020 19:01:28 +0100 Subject: [PATCH] @grafana/ui: Fix UI issues for cascader button dropdown and query input (#29727) * Fix broken cascader width * Remove text cursor in area where it does not affect slate --- public/sass/components/_slate_editor.scss | 1 - public/sass/pages/_explore.scss | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/sass/components/_slate_editor.scss b/public/sass/components/_slate_editor.scss index 0094ffffc1b..5c3039c0962 100644 --- a/public/sass/components/_slate_editor.scss +++ b/public/sass/components/_slate_editor.scss @@ -13,7 +13,6 @@ padding: 6px 8px; min-height: $input-height; width: 100%; - cursor: text; line-height: $line-height-base; color: $text-color; background-color: $input-bg; diff --git a/public/sass/pages/_explore.scss b/public/sass/pages/_explore.scss index 725b32f5a8f..887bdc4ed10 100644 --- a/public/sass/pages/_explore.scss +++ b/public/sass/pages/_explore.scss @@ -435,6 +435,8 @@ // React-component cascade fix: vertical alignment issue with Safari .rc-cascader-menu { vertical-align: top; + // To fix cascader button width issue in windows + firefox + scrollbar-width: thin; } // TODO Experimental