Skip to content

Commit

Permalink
Absolutely positioned editors to improve layout update.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Feb 21, 2018
1 parent 4ca30ed commit 8a12b12
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/scss/components/_editor.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.query-editor-container {
position: relative;
height: 100%;
overflow: auto;
background: $theme-bg-color;
Expand All @@ -8,6 +9,9 @@
}
}
.query-editor__input {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
font-size: 14px;
Expand All @@ -16,9 +20,19 @@
resize: none;
}

.query-result__normal-container {
position: relative;
.app-query-result-textarea {
position: absolute;
top: 10px;
left: 0;
height: 100%;
width: 100%;
}
}
.query-result-container {
height: 100%;
overflow: auto;
// overflow: auto;
background: $theme-off-bg-color;
border-radius: 4px;
pre {
Expand Down

0 comments on commit 8a12b12

Please sign in to comment.