mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 09:04:14 +02:00
Fixes #18681: Use a local varible to calculate a unit-less border offset for the popover title
This commit is contained in:
@@ -108,7 +108,8 @@
|
|||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
background-color: $popover-title-bg;
|
background-color: $popover-title-bg;
|
||||||
border-bottom: $popover-border-width solid darken($popover-title-bg, 5%);
|
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 {
|
.popover-content {
|
||||||
|
Reference in New Issue
Block a user