Skip to content

Commit

Permalink
Fix #16223 - set min height and width instead of a fixed value
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Ojha <yogesh.ojha11@gmail.com>
  • Loading branch information
yogeshojha authored and williamdes committed Jul 2, 2020
1 parent b41e171 commit 43a5214
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions themes/bootstrap/scss/_codemirror.scss
Expand Up @@ -14,8 +14,8 @@ $textarea-rows: 15;
}

.insertRowTable .CodeMirror {
height: ceil($textarea-rows * 0.6em);
width: ceil($textarea-cols * 0.6em);
min-height: ceil($textarea-rows * 0.6em);
min-width: ceil($textarea-cols * 0.6em);
border: 1px solid #a9a9a9;
}

Expand Down
4 changes: 2 additions & 2 deletions themes/metro/scss/_codemirror.scss
Expand Up @@ -24,8 +24,8 @@ $textarea-rows: 15 !default;
}

.insertRowTable .CodeMirror {
height: ceil($textarea-rows * 0.6em);
width: ceil($textarea-cols * 0.6em);
min-height: ceil($textarea-rows * 0.6em);
min-width: ceil($textarea-cols * 0.6em);
}

#pma_console .CodeMirror-gutters {
Expand Down
4 changes: 2 additions & 2 deletions themes/pmahomme/scss/_codemirror.scss
Expand Up @@ -11,8 +11,8 @@ $textarea-rows: 15;
}

.insertRowTable .CodeMirror {
height: ceil($textarea-rows * 0.6em);
width: ceil($textarea-cols * 0.6em);
min-height: ceil($textarea-rows * 0.6em);
min-width: ceil($textarea-cols * 0.6em);
border: 1px solid #a9a9a9;
}

Expand Down

0 comments on commit 43a5214

Please sign in to comment.