From 039ca0883b0931fc544fa6a16ca716167e5a0abb Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 26 May 2017 18:56:10 -0400 Subject: [PATCH] Resolve flipped tooltip horizontal positioning #fix --- src/components/popover/_style.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/popover/_style.scss b/src/components/popover/_style.scss index 450e94f82..e8d22b678 100644 --- a/src/components/popover/_style.scss +++ b/src/components/popover/_style.scss @@ -68,15 +68,16 @@ } &.is-left { - left: 0; - margin-left: -6px; + left: 100%; + transform: translateX( -100% ); + margin-left: 6px; &::before { - left: 10px; + right: 10px; } &::after { - left: 11px; + right: 11px; } } @@ -96,16 +97,15 @@ } &.is-right { - left: 100%; - transform: translateX( -100% ); - margin-left: 6px; + left: 0; + margin-left: -6px; &::before { - right: 10px; + left: 10px; } &::after { - right: 11px; + left: 11px; } } }