Workaround for dartsass vs bootstrap 5.1 bug

This commit is contained in:
Andy Allan 2023-09-27 09:23:26 +01:00
parent 41f13ac73a
commit c975bae507

View file

@ -24,3 +24,13 @@ $link-hover-decoration: underline;
$table-striped-bg: $offwhite; $table-striped-bg: $offwhite;
$enable-negative-margins: true; $enable-negative-margins: true;
// Workaround for a dartsass bug with bootstrap 5.1
// This can be removed after upgrading to bootstrap 5.2
// This copies definitions straight from bootstrap, but uses the sass-native
// version of the subtract function.
$border-width: 2px;
$border-radius: .35rem;
$card-border-radius: $border-radius;
$card-border-width: $border-width;
$card-inner-border-radius: subtract($card-border-radius, $card-border-width);