1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Calc modal header/footer border radius according to the border width (#28775)

This commit is contained in:
Shohei Yoshida
2019-05-28 21:21:45 +09:00
committed by Martijn Cuppens
parent 111024695a
commit b28322469e
2 changed files with 3 additions and 2 deletions

View File

@@ -936,6 +936,7 @@ $modal-content-bg: $white !default;
$modal-content-border-color: rgba($black, .2) !default;
$modal-content-border-width: $border-width !default;
$modal-content-border-radius: $border-radius-lg !default;
$modal-content-inner-border-radius: calc(#{$modal-content-border-radius} - #{$modal-content-border-width}) !default;
$modal-content-box-shadow-xs: 0 .25rem .5rem rgba($black, .5) !default;
$modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;