Merge pull request #852 from vpowerrc/master
added #1475 inline query box vertical resize
This commit is contained in:
commit
e7eb808796
@ -113,6 +113,9 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||
color: black;
|
||||
font-family: monospace;
|
||||
height: <?php echo ceil($GLOBALS['cfg']['TextareaRows'] * 1.2); ?>em;
|
||||
resize: vertical;
|
||||
max-height: 600px;
|
||||
min-height: 75px;
|
||||
}
|
||||
|
||||
#inline_editor_outer .CodeMirror {
|
||||
@ -122,11 +125,10 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||
.CodeMirror-scroll {
|
||||
/* 30px is the magic margin used to hide the element's real scrollbars */
|
||||
/* See overflow: hidden in .CodeMirror */
|
||||
margin-bottom: -30px; margin-right: -30px;
|
||||
padding-bottom: 30px; padding-right: 30px;
|
||||
height: 100%;
|
||||
height: 85% !important;
|
||||
outline: none; /* Prevent dragging from highlighting the element */
|
||||
position: relative;
|
||||
resize: none;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.CodeMirror-sizer {
|
||||
position: relative;
|
||||
@ -144,6 +146,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||
right: 0; top: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
display:none !important;
|
||||
}
|
||||
.CodeMirror-hscrollbar {
|
||||
bottom: 0; left: 0;
|
||||
@ -161,6 +164,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||
position: absolute; left: 0; top: 0;
|
||||
padding-bottom: 30px;
|
||||
z-index: 3;
|
||||
height: 100% !important;
|
||||
}
|
||||
.CodeMirror-gutter {
|
||||
white-space: normal;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user