Skip to content

Commit 524f9b2

Browse files
confidential-ntmadbob
authored andcommitted
Fix null modal-content-color in modal.scss (twbs#39977)
Identified that $modal-content-color was set to null, which could lead to display issues in React Bootstrap Modals. Changed the value to --#{$prefix}body-color to ensure consistency and correct color application in modal components.
1 parent 2d7c8d0 commit 524f9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scss/_variables.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ $modal-dialog-margin-y-sm-up: 1.75rem !default;
15051505

15061506
$modal-title-line-height: $line-height-base !default;
15071507

1508-
$modal-content-color: null !default;
1508+
$modal-content-color: var(--#{$prefix}body-color) !default;
15091509
$modal-content-bg: var(--#{$prefix}body-bg) !default;
15101510
$modal-content-border-color: var(--#{$prefix}border-color-translucent) !default;
15111511
$modal-content-border-width: var(--#{$prefix}border-width) !default;

0 commit comments

Comments
 (0)