Skip to content

Commit 7f8fed4

Browse files
Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)
1 parent f406388 commit 7f8fed4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scss/_modal.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959

6060
// When fading in the modal, animate it to slide down
6161
.modal.fade & {
62-
@include transition($modal-transition);
6362
transform: $modal-fade-transform;
63+
@include transition($modal-transition);
6464
}
6565
.modal.show & {
6666
transform: $modal-show-transform;

scss/_reboot.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ legend {
499499
width: 100%;
500500
padding: 0;
501501
margin-bottom: $legend-margin-bottom;
502-
@include font-size($legend-font-size);
503502
font-weight: $legend-font-weight;
504503
line-height: inherit;
504+
@include font-size($legend-font-size);
505505

506506
+ * {
507507
clear: left; // 2

scss/_type.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
// Type display classes
3535
@each $display, $font-size in $display-font-sizes {
3636
.display-#{$display} {
37-
@include font-size($font-size);
3837
font-family: $display-font-family;
3938
font-style: $display-font-style;
4039
font-weight: $display-font-weight;
4140
line-height: $display-line-height;
41+
@include font-size($font-size);
4242
}
4343
}
4444

0 commit comments

Comments
 (0)