0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-19 11:52:21 +01:00

Fix use of declarations after nested rules (deprecated in Sass 1.77.7) (#40623)
Some checks failed
BrowserStack / browserstack (push) Has been skipped
Bundlewatch / bundlewatch (push) Failing after 0s
CodeQL / Analyze (push) Failing after 0s
cspell / cspell (push) Failing after 0s
CSS / css (push) Failing after 0s
Docs / docs (push) Failing after 0s
JS Tests / JS Tests (push) Failing after 0s
Lint / lint (push) Failing after 0s
CSS (node-sass) / css (push) Failing after 0s
Release notes / update_release_draft (push) Has been skipped

This commit is contained in:
Julien Déramond 2024-07-15 23:10:14 +02:00 committed by GitHub
parent f406388c1b
commit 7f8fed44fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@
// When fading in the modal, animate it to slide down // When fading in the modal, animate it to slide down
.modal.fade & { .modal.fade & {
@include transition($modal-transition);
transform: $modal-fade-transform; transform: $modal-fade-transform;
@include transition($modal-transition);
} }
.modal.show & { .modal.show & {
transform: $modal-show-transform; transform: $modal-show-transform;

View File

@ -499,9 +499,9 @@ legend {
width: 100%; width: 100%;
padding: 0; padding: 0;
margin-bottom: $legend-margin-bottom; margin-bottom: $legend-margin-bottom;
@include font-size($legend-font-size);
font-weight: $legend-font-weight; font-weight: $legend-font-weight;
line-height: inherit; line-height: inherit;
@include font-size($legend-font-size);
+ * { + * {
clear: left; // 2 clear: left; // 2

View File

@ -34,11 +34,11 @@
// Type display classes // Type display classes
@each $display, $font-size in $display-font-sizes { @each $display, $font-size in $display-font-sizes {
.display-#{$display} { .display-#{$display} {
@include font-size($font-size);
font-family: $display-font-family; font-family: $display-font-family;
font-style: $display-font-style; font-style: $display-font-style;
font-weight: $display-font-weight; font-weight: $display-font-weight;
line-height: $display-line-height; line-height: $display-line-height;
@include font-size($font-size);
} }
} }