diff options
| author | Mark Otto <[email protected]> | 2014-02-10 20:52:43 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-10 20:52:43 -0800 |
| commit | b4ba964801fde644e1ef3d4ee0f7e9ea50d40413 (patch) | |
| tree | 64f0657cc9b694824cf61182d55ead1986b82bbd | |
| parent | 3350c73666b811dbe9f351f97c6f6df4b66c6d04 (diff) | |
| parent | 221ac861e427028fdcadf91e2a06b8baf9541b54 (diff) | |
| download | bootstrap-b4ba964801fde644e1ef3d4ee0f7e9ea50d40413.tar.xz bootstrap-b4ba964801fde644e1ef3d4ee0f7e9ea50d40413.zip | |
Merge pull request #12673 from tlindig/tl_popover_arrow_size
use @popover-arrow-width for offset the popover
| -rw-r--r-- | less/popovers.less | 8 |
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 { |
