mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 00:59:51 +02:00
Update stylelint to v13.7.2 (#31726)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// stylelint-disable property-blacklist
|
||||
// stylelint-disable property-disallowed-list
|
||||
// Single side border-radius
|
||||
|
||||
// Helper function to replace negative values with 0
|
||||
|
@@ -4,8 +4,8 @@
|
||||
--bs-gutter-x: #{$gutter};
|
||||
|
||||
width: 100%;
|
||||
padding-right: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-blacklist
|
||||
padding-left: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-blacklist
|
||||
padding-right: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-disallowed-list
|
||||
padding-left: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-disallowed-list
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
@@ -7,9 +7,9 @@
|
||||
--bs-gutter-y: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: calc(var(--bs-gutter-y) * -1); // stylelint-disable-line function-blacklist
|
||||
margin-right: calc(var(--bs-gutter-x) / -2); // stylelint-disable-line function-blacklist
|
||||
margin-left: calc(var(--bs-gutter-x) / -2); // stylelint-disable-line function-blacklist
|
||||
margin-top: calc(var(--bs-gutter-y) * -1); // stylelint-disable-line function-disallowed-list
|
||||
margin-right: calc(var(--bs-gutter-x) / -2); // stylelint-disable-line function-disallowed-list
|
||||
margin-left: calc(var(--bs-gutter-x) / -2); // stylelint-disable-line function-disallowed-list
|
||||
}
|
||||
|
||||
@mixin make-col-ready($gutter: $grid-gutter-width) {
|
||||
@@ -21,8 +21,8 @@
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
max-width: 100%; // Prevent `.col-auto`, `.col` (& responsive variants) from breaking out the grid
|
||||
padding-right: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-blacklist
|
||||
padding-left: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-blacklist
|
||||
padding-right: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-disallowed-list
|
||||
padding-left: calc(var(--bs-gutter-x) / 2); // stylelint-disable-line function-disallowed-list
|
||||
margin-top: var(--bs-gutter-y);
|
||||
}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// stylelint-disable property-blacklist
|
||||
// stylelint-disable property-disallowed-list
|
||||
@mixin transition($transition...) {
|
||||
@if length($transition) == 0 {
|
||||
$transition: $transition-base;
|
||||
|
Reference in New Issue
Block a user