From: Mark Otto Date: Thu, 7 Jan 2016 08:16:59 +0000 (-0800) Subject: Fixes #18681: Use a local varible to calculate a unit-less border offset for the... X-Git-Tag: v4.0.0-alpha.3~400 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea5fdc5b5faf382dae0b79c84f7f35a073293920;p=thirdparty%2Fbootstrap.git Fixes #18681: Use a local varible to calculate a unit-less border offset for the popover title --- diff --git a/scss/_popover.scss b/scss/_popover.scss index 39f5542eda..d8c0db5c27 100644 --- a/scss/_popover.scss +++ b/scss/_popover.scss @@ -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 {