mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 22:57:59 -04:00
fix one line editor being scrollable (#7059)
This commit is contained in:
@@ -1480,6 +1480,12 @@ html {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Get the child div element that is inside .Codemirror-scroll, between the elements with class .CodeMirror-sizer and CodeMirror-gutters */
|
||||
.editor.editor--single-line .CodeMirror-scroll > div:has(+ .CodeMirror-gutters, + .CodeMirror-sizer) {
|
||||
height: 0!important;
|
||||
}
|
||||
|
||||
.editor.editor--single-line .nunjucks-tag {
|
||||
font-size: 0.8em !important;
|
||||
padding-top: 0.3em;
|
||||
|
||||
Reference in New Issue
Block a user