Improving bonfire layout to remove the need for scrolling and allow the input and output elements to grow dynamically with user input
This commit is contained in:
@ -530,6 +530,7 @@ form.code span {
|
||||
font-family: "Ubuntu Mono";
|
||||
padding-bottom: 0px;
|
||||
margin-bottom: 0px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#mainEditorPanel .panel-body {
|
||||
|
1
public/js/lib/codemirror/lib/codemirror.css
vendored
1
public/js/lib/codemirror/lib/codemirror.css
vendored
@ -147,6 +147,7 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
||||
}
|
||||
|
||||
.CodeMirror-scroll {
|
||||
/* Commenting out for no scroll display
|
||||
overflow: scroll !important; /* Things will break if this is overridden */
|
||||
/* 30px is the magic margin used to hide the element's real scrollbars */
|
||||
/* See overflow: hidden in .CodeMirror */
|
||||
|
2
public/js/lib/codemirror/theme/monokai.css
vendored
2
public/js/lib/codemirror/theme/monokai.css
vendored
@ -1,6 +1,6 @@
|
||||
/* Based on Sublime Text's Monokai theme */
|
||||
|
||||
.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2; border-radius: 5px;}
|
||||
.cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2; border-radius: 5px; height: auto;}
|
||||
.cm-s-monokai div.CodeMirror-selected {background: #49483E !important;}
|
||||
.cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;}
|
||||
.cm-s-monokai .CodeMirror-guttermarker { color: white; }
|
||||
|
Reference in New Issue
Block a user