From c32ccb8749fde0e4443751ae76bb7a35adf18e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Tue, 15 Apr 2014 22:17:03 +0200 Subject: [PATCH] Don't cut off bottom part of last line in firefox It ignores the padding in the #bufferlines diff. It's still off on small windows, but a lot better than before. You can't make up the stupid things browsers do. --- css/glowingbear.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index 857d098..06d633c 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -266,11 +266,19 @@ input[type=text], input[type=password], .badge { overflow-y: auto; width: auto; top: 35px; /* topbar */ - padding-bottom: 10px; + padding-bottom: 10px; /* ignored by firefox */ margin-right: -5px; -webkit-transition:0.35s ease all; transition:0.35s ease all; } + +@-moz-document url-prefix() { + /* firefox specific rule because it ignores the padding in #bufferlines */ + #bufferlines table { + margin-bottom: 10px; + } +} + .withnicklist { margin-right: 100px !important; /* nicklist */ }