Skip to content

Instantly share code, notes, and snippets.

@mikelehen
Created September 28, 2013 23:15
Show Gist options
  • Save mikelehen/6747679 to your computer and use it in GitHub Desktop.
Save mikelehen/6747679 to your computer and use it in GitHub Desktop.
Styles to make firepad auto-expand to fit its content.
.firepad {
height: auto;
}
.firepad-toolbar {
position: relative;
margin-top: 20px;
margin-left: 10px;
top: auto;
left: auto;
right: auto;
}
.firepad-with-toolbar .CodeMirror {
position: relative;
height: auto;
top: auto;
left: auto;
margin-left: 10px;
right: auto;
bottom: auto;
}
.CodeMirror-scroll {
overflow-y: hidden;
overflow-x: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment