From e6ab850aacd256dd475482b69f9a6237e4cdcf28 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Mon, 25 Feb 2019 07:35:54 +0100 Subject: Fix tooltip styling for bootstrap 4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/css/tooltip.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'core') diff --git a/core/css/tooltip.scss b/core/css/tooltip.scss index a23f5d3c34d..ca08e5808c4 100644 --- a/core/css/tooltip.scss +++ b/core/css/tooltip.scss @@ -36,6 +36,7 @@ padding: 10px 0; filter: drop-shadow(0 1px 10px var(--color-box-shadow)); &.in, + &.show, &.tooltip[aria-hidden='false'] { visibility: visible; opacity: 1; @@ -80,7 +81,7 @@ &.top-left, &[x-placement^='top'], &.top-right { - .tooltip-arrow { + .tooltip-arrow, .arrow { bottom: 0; border-width: 10px 10px 0; border-top-color: var(--color-main-background); @@ -99,7 +100,7 @@ &[x-placement^='bottom'], &.bottom-left, &.bottom-right { - .tooltip-arrow { + .tooltip-arrow, .arrow { top: 0; border-width: 0 10px 10px; border-bottom-color: var(--color-main-background); @@ -129,7 +130,7 @@ border-radius: var(--border-radius); } -.tooltip-arrow { +.tooltip-arrow, .tooltip .arrow { position: absolute; width: 0; height: 0; -- cgit v1.2.3