aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Lindig <[email protected]>2014-02-10 10:57:11 +0100
committerTobias Lindig <[email protected]>2014-02-10 10:57:11 +0100
commit221ac861e427028fdcadf91e2a06b8baf9541b54 (patch)
treed50e10e345978d6ec09313ecdd5ac22d4aa3b42a
parent535cd57537842a23a4f2cee6eb18301620c88ee7 (diff)
downloadbootstrap-221ac861e427028fdcadf91e2a06b8baf9541b54.tar.xz
bootstrap-221ac861e427028fdcadf91e2a06b8baf9541b54.zip
use @popover-arrow-width for offset the popover to account for the popover arrow
-rw-r--r--less/popovers.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/less/popovers.less b/less/popovers.less
index 2a3f37b73..696d74c7d 100644
--- a/less/popovers.less
+++ b/less/popovers.less
@@ -23,10 +23,10 @@
white-space: normal;
// Offset the popover to account for the popover arrow
- &.top { margin-top: -10px; }
- &.right { margin-left: 10px; }
- &.bottom { margin-top: 10px; }
- &.left { margin-left: -10px; }
+ &.top { margin-top: -@popover-arrow-width; }
+ &.right { margin-left: @popover-arrow-width; }
+ &.bottom { margin-top: @popover-arrow-width; }
+ &.left { margin-left: -@popover-arrow-width; }
}
.popover-title {