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:
Nathan Leniz
2015-01-21 18:10:21 -05:00
parent c422f9474b
commit bf1d8cd81a
3 changed files with 3 additions and 1 deletions

View File

@ -530,6 +530,7 @@ form.code span {
font-family: "Ubuntu Mono";
padding-bottom: 0px;
margin-bottom: 0px;
height: auto;
}
#mainEditorPanel .panel-body {

View File

@ -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 */

View File

@ -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; }