Ensure JSON data isn't modified in-flight by psycopg2 when using View/Edit data. Fixes #3600

This commit is contained in:
Aditya Toshniwal
2019-02-25 10:34:36 +00:00
committed by Dave Page
parent a5d39003b6
commit 59446bb4b5
7 changed files with 53 additions and 34 deletions

View File

@@ -266,12 +266,6 @@ input.editor-checkbox:focus {
}
/* Style for text editor */
.pg_textarea {
width:250px;
height:80px;
border:0;
outline:0;
}
.pg_buttons {
text-align:right;
}

View File

@@ -233,17 +233,26 @@ li.CodeMirror-hint-active {
border-top: none;
}
.pg_text_editor {
.pg-text-editor {
z-index:10000;
position:absolute;
background: $color-bg-theme;
padding: 0.25rem;
border: $panel-border;
box-shadow: $dropdown-box-shadow;
}
.pg_text_editor textarea {
resize: both;
& .pg-textarea {
width:250px;
height:80px;
border:0;
outline:0;
resize: both;
}
& .pg-text-invalid {
background: $color-danger-lighter;
}
}
.sql-editor-message {