From 82733f321eecdc0935eae07fa16dccce618cd8e2 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 13 Jan 2020 16:01:50 +0100 Subject: [PATCH 1/2] css: Fix collapsed border spacing in FF in list views fixes #4043 --- modules/monitoring/public/css/tables.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/public/css/tables.less b/modules/monitoring/public/css/tables.less index dffb19961..e851f6c88 100644 --- a/modules/monitoring/public/css/tables.less +++ b/modules/monitoring/public/css/tables.less @@ -238,7 +238,8 @@ width: 100%; tr[href] { - -webkit-transform: translate3d(0,0,0); /* Fixes Safari hover bug in history table rows */ + -webkit-transform: translate3d(0,0,0); /* Without this, hovering in Safari is broken in history table rows */ + -moz-transform: none; /* Firefox collapses border spacing due to the above */ } tr[href].active { From e9b27b338f23fd54e982b68c5e671e62196ffa29 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 13 Jan 2020 16:02:50 +0100 Subject: [PATCH 2/2] css: Set correct line-height for tabs Otherwise a gap is shown between the dropdown toggle and menu which causes FF to hide the dropdown too fast. --- public/css/icinga/tabs.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/css/icinga/tabs.less b/public/css/icinga/tabs.less index 4ef51e2d0..bb87e6fff 100644 --- a/public/css/icinga/tabs.less +++ b/public/css/icinga/tabs.less @@ -14,7 +14,7 @@ .tabs a { padding: 0 1em; - line-height: 2.6em; + line-height: 2.5em; &:focus { outline-offset: -0.5em;