Ensure that last row of table data should be visible and user will be able to add new row. Fixes #3866

This commit is contained in:
Aditya Toshniwal
2019-01-11 23:25:05 +05:30
committed by Akshay Joshi
parent 14f462e9dc
commit d4a2f1b8cd
3 changed files with 14 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ $gray-900: $color-fg-theme;
$body-color: $color-fg-theme;
$font-size-base: 0.875rem;
$line-height-base: 1.5; // no change
$text-height-calc: $line-height-base*$font-size-base/1rem;
$grid-gutter-width: 15px;
$border-radius: 0.25rem; //no change
@@ -169,6 +170,8 @@ $datagrid-bg: $color-gray-light;
$sql-title-padding: 3px;
$sql-title-bg: $color-gray-darker;
$sql-title-fg: $white;
// Toolbar + editor title heights + title bottom border
$sql-editor-panel-top: $title-height + $text-height-calc*16px + $sql-title-padding*2 + $panel-border-width;
$sql-gutters-bg: $color-gray-light;
$sql-history-detail-bg: $color-gray-lighter;
$sql-history-success-bg: $color-primary-light;

View File

@@ -18,6 +18,15 @@
z-index: 0;
}
#editor-panel {
z-index: 0;
position: absolute;
top: $sql-editor-panel-top;
bottom: 0;
left: 0;
right: 0;
}
#editor-panel .CodeMirror-activeline-background {
background: $color-primary-light;
}