From 8548c619d81fde5484907267ff57f44e0b57f048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 11 Sep 2017 23:45:49 +0200 Subject: [PATCH] remove mysterious gap under canvas caused by line height --- sass/pages/_term.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sass/pages/_term.scss b/sass/pages/_term.scss index 5136ff2..7fe8412 100755 --- a/sass/pages/_term.scss +++ b/sass/pages/_term.scss @@ -22,9 +22,7 @@ body.term { display: inline-block; border: 2px solid #3983CD; position: relative; - - font-size: 20px; // some font heights cause visual glitches with some font renderers. This should be configurable. - font-family: $screen-stack; + line-height: 0; canvas.selectable { cursor: text; @@ -142,10 +140,6 @@ body.term { } #fu_form { - //border: 1px solid #3983CD; - //border-radius: 2px; - //padding: 0 dist(0); - //background: #333e58; padding: dist(0); margin-top: 100px; // offset