Properly size the SQL Editor gutter as the width of the line numbers increases. Fixes #1780

This commit is contained in:
Khushboo Vashi
2016-12-16 13:04:16 +00:00
committed by Dave Page
parent 1431dfcb01
commit 53ea991907
4 changed files with 13 additions and 30 deletions

View File

@@ -52,8 +52,9 @@ iframe {
}
/* Ensure the codemirror editor displays full height gutters when resized */
.CodeMirror, .CodeMirror-gutters {
.CodeMirror, .CodeMirror-gutter {
height: 100% !important;
min-height: 100% !important;
}
/* Padding for the treeview */
@@ -268,6 +269,7 @@ iframe {
.pgadmin-controls.SQL {
padding-right: 3px;
padding-left: 1px;
height: 100%;
}
.pgadmin-controls > textarea.form-control,
.pgadmin-controls > textarea.form-control[disabled] {
@@ -916,11 +918,13 @@ td.edit-cell.editable.sortable.renderable.editor {
.tab-pane.SQL {
padding: 0px 7px 0px 0px;
height: 100%;
}
.pgadmin-control-group.sql {
margin: 0px;
padding: 0px;
height: 100%;
}
.nav-tabs{
@@ -996,10 +1000,6 @@ ul.nav.nav-tabs {
background-position: 0px 2px;
}
.pgadmin-controls.SQL>.CodeMirror {
height: 500px !important;
}
/* This rule will stop Chrome apply highlighting to elements such as DIV's used as modals */
*:focus {
outline: none;

View File

@@ -718,6 +718,7 @@ lgg-el-container[el=md] .pg-el-lg-8,
.pg-el-container ul.tab-content {
min-height: calc(100% - 10px);
height: 100%;
}
.pgadmin-control-group {