0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Fixes #18681: Use a local varible to calculate a unit-less border offset for the popover title

This commit is contained in:
Mark Otto 2016-01-07 00:16:59 -08:00
parent b09f70e101
commit ea5fdc5b5f

View File

@ -108,7 +108,8 @@
font-size: $font-size-base;
background-color: $popover-title-bg;
border-bottom: $popover-border-width solid darken($popover-title-bg, 5%);
@include border-radius(($border-radius-lg - 1) ($border-radius-lg - 1) 0 0);
$offset-border-width: ($border-width / $font-size-root);
@include border-radius(($border-radius-lg - $offset-border-width) ($border-radius-lg - $offset-border-width) 0 0);
}
.popover-content {