aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorJulian Thilo <[email protected]>2014-10-30 16:33:14 +0100
committerJulian Thilo <[email protected]>2014-10-30 16:33:14 +0100
commit87edaf295c44bbd5fa6ae4a435a27e8c8fc8e9eb (patch)
tree972e01b91d158f9932b3da992452fe4a67ad3997 /less
parent4102a67f33bf2a382203547fe821d0d41bbc4ece (diff)
downloadbootstrap-87edaf295c44bbd5fa6ae4a435a27e8c8fc8e9eb.tar.xz
bootstrap-87edaf295c44bbd5fa6ae4a435a27e8c8fc8e9eb.zip
Fix #14936: Use correct left/right and margin on tooltip arrows
Diffstat (limited to 'less')
-rw-r--r--less/tooltip.less12
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;
}