From 3ef77cec0cb423eb31509997ae5d61175e90dd31 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 26 Aug 2023 16:31:41 -0700 Subject: [PATCH] (Hotfix) Don't always show scrollbars on Editor (#373) Bad CSS made it so that scrollbars always showed up in descriptions and the editor. I didn't see it because I am usually working on a Mac with display scrollbars off. Anyway, it's fixed now. --- components/common/Editor/index.module.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/common/Editor/index.module.scss b/components/common/Editor/index.module.scss index 186140fd..bc415b6f 100644 --- a/components/common/Editor/index.module.scss +++ b/components/common/Editor/index.module.scss @@ -24,7 +24,8 @@ flex-grow: 1; font-size: $font-regular; line-height: 1.4; - overflow: scroll; + overflow-y: auto; + overflow-x: hidden; padding: $unit * 1.5 $unit-2x; white-space: pre-wrap; width: 100%;