summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2019-05-25 18:13:11 +0200
committerSheogorath2019-05-26 03:48:58 +0200
commit5e500de6284326b5da93283ffee6a75e9c14741f (patch)
tree923767374400688d9ebef37814729e621453ce42
parentde669c7b93a69966cee119ffda0da8b78e83a55a (diff)
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>
-rw-r--r--public/css/index.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/public/css/index.css b/public/css/index.css
index fb8356eb..d266ad88 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -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;