]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix null modal-content-color in modal.scss (#39977)
authorSomi Park <youyoy689@gmail.com>
Thu, 3 Apr 2025 06:49:33 +0000 (15:49 +0900)
committerGitHub <noreply@github.com>
Thu, 3 Apr 2025 06:49:33 +0000 (23:49 -0700)
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.

scss/_variables.scss

index a55411a53ac7abe384b07af993db7c8422abdbd9..1ffa7e74bf1c989bd31fb0a4cf2ea54b328e8918 100644 (file)
@@ -1507,7 +1507,7 @@ $modal-dialog-margin-y-sm-up:       1.75rem !default;
 
 $modal-title-line-height:           $line-height-base !default;
 
-$modal-content-color:               null !default;
+$modal-content-color:               var(--#{$prefix}body-color) !default;
 $modal-content-bg:                  var(--#{$prefix}body-bg) !default;
 $modal-content-border-color:        var(--#{$prefix}border-color-translucent) !default;
 $modal-content-border-width:        var(--#{$prefix}border-width) !default;