From c952ebad10703a8a70643356ba4b40958926f225 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 24 Oct 2019 12:07:10 +0200 Subject: [PATCH] editor: reduce input field scrollbar size to avoid issue in recent chromium --- CHANGELOG.md | 1 + src/scss/editor.scss | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2550b19e..c2ad6d6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - bug fixes - modal: `popupLabel` update issues - modal: `popupTop` not correctly interpreting percents + - editor: scrollbar issue in editor's input fields on recent chromium ## 0.48.0 diff --git a/src/scss/editor.scss b/src/scss/editor.scss index 4febda46..ae12f12e 100644 --- a/src/scss/editor.scss +++ b/src/scss/editor.scss @@ -168,14 +168,18 @@ color:var(--color-text); width:100%; padding:5rem; - overflow-y: hidden; overflow-x: auto; + overflow-y: hidden; white-space: nowrap; border-top:1rem solid var(--color-fg); resize: none; font-size: 12rem!important; -webkit-user-select: text; user-select: text; + --scrollbar-size: 6rem; + &::-webkit-scrollbar-button { + width:1rem!important; + } } .error label{ color: red;