From: Tobias Lindig Date: Mon, 10 Feb 2014 09:57:11 +0000 (+0100) Subject: use @popover-arrow-width for offset the popover to account for the popover arrow X-Git-Tag: v3.1.1~14^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221ac861e427028fdcadf91e2a06b8baf9541b54;p=thirdparty%2Fbootstrap.git use @popover-arrow-width for offset the popover to account for the popover arrow --- diff --git a/less/popovers.less b/less/popovers.less index 2a3f37b731..696d74c7d5 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 {