]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)
authorJulien Déramond <juderamond@gmail.com>
Mon, 15 Jul 2024 21:10:14 +0000 (23:10 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2024 21:10:14 +0000 (23:10 +0200)
scss/_modal.scss
scss/_reboot.scss
scss/_type.scss

index 494db94e7eb9b1e80fd0489f81dc382ea25cdffa..ee58032ee811b4586bcf0364167b9f7a5222462f 100644 (file)
@@ -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;
index 18791753d0ca39313f6d1876f946bdb966990d8e..5e1665c35887dec3121644d090879445b5826fe2 100644 (file)
@@ -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
index 37d64bf89c5578ee14759a04aaf65e2a1a93f097..6961390f1e628edda31406f0e52bd1709f1146d2 100644 (file)
 // 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);
   }
 }