From bfb8839e013de6c104980d7665aef4c32f252302 Mon Sep 17 00:00:00 2001 From: Richard LT Date: Wed, 26 Feb 2020 15:16:18 +0100 Subject: [PATCH] fix(ui): remove codemirror z-index on lines (#5014) --- ui/src/styles.scss | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/ui/src/styles.scss b/ui/src/styles.scss index 6994269dda..f1d785fbd4 100644 --- a/ui/src/styles.scss +++ b/ui/src/styles.scss @@ -53,7 +53,9 @@ a.disabled:hover { .CodeMirror { height: 100% !important; max-height: 100%; - } // Code mirror + } + + // Code mirror .CodeMirror-scroll { height: 100% !important; max-height: 100%; @@ -65,6 +67,7 @@ a.disabled:hover { .CodeMirror { max-height: 500px; } + .CodeMirror-scroll { max-height: 500px; } @@ -108,7 +111,7 @@ body ::-webkit-scrollbar-thumb { // dropdown .ui.buttons { - sm-dropdown > .ui.dropdown:last-child .menu { + sm-dropdown>.ui.dropdown:last-child .menu { left: auto; right: 0; } @@ -267,7 +270,7 @@ body ::-webkit-scrollbar-thumb { width: auto; } -.ui.card > .content > .description { +.ui.card>.content>.description { overflow-wrap: break-word; } @@ -354,7 +357,7 @@ body ::-webkit-scrollbar-thumb { padding-right: 1em; - > .text > .flag { + >.text>.flag { margin-right: 0em; } } @@ -462,3 +465,7 @@ sui-search { position: relative; top: -7px; } + +.CodeMirror pre.CodeMirror-line { + z-index: unset; +}