mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Fix CodeMirror toolbar hiding content
As it may happens that the codemirror content flows underneath the status bar, this patch should help to avoid it. It adds the size of the status bar as margin-bottom so the codemirror window itself is forced above the statusbar. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
de669c7b93
commit
5e500de628
1 changed files with 4 additions and 1 deletions
|
@ -106,7 +106,10 @@ body.night{
|
|||
color: #78B2F2 !important;
|
||||
}
|
||||
.CodeMirror-sizer {
|
||||
margin-bottom: 0px !important;
|
||||
/* Make sure CodeMirror doesn't hide text under the status bar
|
||||
* 26px is the height of the status bar.
|
||||
*/
|
||||
margin-bottom: 26px !important;
|
||||
}
|
||||
.CodeMirror-insert-match {
|
||||
background: lawngreen;
|
||||
|
|
Loading…
Reference in a new issue