aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2024-07-15 23:10:14 +0200
committerGitHub <[email protected]>2024-07-15 23:10:14 +0200
commit7f8fed44fdbe2418a1876f3e19b5741666b7caa9 (patch)
treee57fdba2776b7195b58c4a53fd6c74ad0d3e7635 /scss
parentf406388c1ba3f60c4114355a6db851827a8d9b70 (diff)
downloadbootstrap-7f8fed44fdbe2418a1876f3e19b5741666b7caa9.tar.xz
bootstrap-7f8fed44fdbe2418a1876f3e19b5741666b7caa9.zip
Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)
Diffstat (limited to 'scss')
-rw-r--r--scss/_modal.scss2
-rw-r--r--scss/_reboot.scss2
-rw-r--r--scss/_type.scss2
3 files changed, 3 insertions, 3 deletions
diff --git a/scss/_modal.scss b/scss/_modal.scss
index 494db94e7..ee58032ee 100644
--- a/scss/_modal.scss
+++ b/scss/_modal.scss
@@ -59,8 +59,8 @@
// When fading in the modal, animate it to slide down
.modal.fade & {
- @include transition($modal-transition);
transform: $modal-fade-transform;
+ @include transition($modal-transition);
}
.modal.show & {
transform: $modal-show-transform;
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 18791753d..5e1665c35 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -499,9 +499,9 @@ legend {
width: 100%;
padding: 0;
margin-bottom: $legend-margin-bottom;
- @include font-size($legend-font-size);
font-weight: $legend-font-weight;
line-height: inherit;
+ @include font-size($legend-font-size);
+ * {
clear: left; // 2
diff --git a/scss/_type.scss b/scss/_type.scss
index 37d64bf89..6961390f1 100644
--- a/scss/_type.scss
+++ b/scss/_type.scss
@@ -34,11 +34,11 @@
// Type display classes
@each $display, $font-size in $display-font-sizes {
.display-#{$display} {
- @include font-size($font-size);
font-family: $display-font-family;
font-style: $display-font-style;
font-weight: $display-font-weight;
line-height: $display-line-height;
+ @include font-size($font-size);
}
}