Fix profile layout overflow to content height in Firefox, fixes #118
This commit is contained in:
parent
a6aeb98a1a
commit
512c0cc712
1 changed files with 5 additions and 1 deletions
|
|
@ -365,7 +365,11 @@ table.dataTable.display tbody tr.even:hover {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.CodeMirror {
|
.CodeMirror {
|
||||||
height: 100%;
|
/* auto instead of 1 to avoid overflow to content height in Firefox */
|
||||||
|
flex: auto;
|
||||||
|
/* override default 300px, behaves like min-height with flex auto */
|
||||||
|
height: 0;
|
||||||
|
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
|
|
||||||
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
|
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue