diff options
| author | Julian Thilo <[email protected]> | 2014-11-04 23:21:59 +0100 |
|---|---|---|
| committer | Julian Thilo <[email protected]> | 2014-11-04 23:21:59 +0100 |
| commit | 3a988c358810e8e4a07dcd9de49b858f9cd1a570 (patch) | |
| tree | 3ecb073a53cd2853fbdb852d22aeb0056f85dd2e | |
| parent | e55feacf5be152694205b14491ad626537756314 (diff) | |
| parent | 87edaf295c44bbd5fa6ae4a435a27e8c8fc8e9eb (diff) | |
| download | bootstrap-3a988c358810e8e4a07dcd9de49b858f9cd1a570.tar.xz bootstrap-3a988c358810e8e4a07dcd9de49b858f9cd1a570.zip | |
Merge pull request #14938 from twbs/oh_arrow_where_art_thou
Fix #14936: Use correct left/right and margin on tooltip arrows
| -rw-r--r-- | less/tooltip.less | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/less/tooltip.less b/less/tooltip.less index bd626996f..ecab304b8 100644 --- a/less/tooltip.less +++ b/less/tooltip.less @@ -49,13 +49,15 @@ } &.top-left .tooltip-arrow { bottom: 0; - left: @tooltip-arrow-width; + right: @tooltip-arrow-width; + margin-bottom: -@tooltip-arrow-width; border-width: @tooltip-arrow-width @tooltip-arrow-width 0; border-top-color: @tooltip-arrow-color; } &.top-right .tooltip-arrow { bottom: 0; - right: @tooltip-arrow-width; + left: @tooltip-arrow-width; + margin-bottom: -@tooltip-arrow-width; border-width: @tooltip-arrow-width @tooltip-arrow-width 0; border-top-color: @tooltip-arrow-color; } @@ -82,13 +84,15 @@ } &.bottom-left .tooltip-arrow { top: 0; - left: @tooltip-arrow-width; + right: @tooltip-arrow-width; + margin-top: -@tooltip-arrow-width; border-width: 0 @tooltip-arrow-width @tooltip-arrow-width; border-bottom-color: @tooltip-arrow-color; } &.bottom-right .tooltip-arrow { top: 0; - right: @tooltip-arrow-width; + left: @tooltip-arrow-width; + margin-top: -@tooltip-arrow-width; border-width: 0 @tooltip-arrow-width @tooltip-arrow-width; border-bottom-color: @tooltip-arrow-color; } |
