Skip to content

Commit

Permalink
Merge pull request #12673 from tlindig/tl_popover_arrow_size
Browse files Browse the repository at this point in the history
use @popover-arrow-width for offset the popover
  • Loading branch information
mdo committed Feb 11, 2014
2 parents 3350c73 + 221ac86 commit b4ba964
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions less/popovers.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b4ba964

Please sign in to comment.