Skip to content

Commit f7f450e

Browse files
authored
Add null modal-footer-bg variable (#35858)
Fixes #35782
1 parent d826020 commit f7f450e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scss/_modal.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@
130130
align-items: center; // vertically center
131131
justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items
132132
padding: $modal-inner-padding - $modal-footer-margin-between * .5;
133+
background-color: $modal-footer-bg;
133134
border-top: $modal-footer-border-width solid $modal-footer-border-color;
134135
@include border-bottom-radius($modal-content-inner-border-radius);
135136

scss/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,6 +1390,7 @@ $modal-footer-border-width: $modal-header-border-width !default;
13901390
$modal-header-padding-y: $modal-inner-padding !default;
13911391
$modal-header-padding-x: $modal-inner-padding !default;
13921392
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
1393+
$modal-footer-bg: null !default;
13931394

13941395
$modal-sm: 300px !default;
13951396
$modal-md: 500px !default;

0 commit comments

Comments
 (0)