From fd28eaad061c75ea1aa7e0f0d60ea37a7e52f8c4 Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Sun, 1 Nov 2020 18:48:11 +0100 Subject: [PATCH] hide scrollbars on code area when not overflowing --- src/presentation/TheCodeArea.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/presentation/TheCodeArea.vue b/src/presentation/TheCodeArea.vue index 1e09705a..c08677a3 100644 --- a/src/presentation/TheCodeArea.vue +++ b/src/presentation/TheCodeArea.vue @@ -113,6 +113,7 @@ function initializeEditor(theme: string, editorId: string): ace.Ace.Editor { width: 100%; max-height: 1000px; min-height: 200px; + overflow: auto; &__highlight { background-color:$accent; opacity: 0.2; // having procent fails in production (minified) build