Skip to content

Commit ed2bf13

Browse files
Fix null modal-content-color in modal.scss (#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 51e7519 commit ed2bf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scss/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ $modal-dialog-margin-y-sm-up: 1.75rem !default;
15071507

15081508
$modal-title-line-height: $line-height-base !default;
15091509

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

0 commit comments

Comments
 (0)