0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Stylelint: remove redundant disables (#31006)

This commit is contained in:
XhmikosR 2020-06-12 11:11:36 +03:00 committed by GitHub
parent 2a4e97b56c
commit 3d8d0012c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -41,7 +41,7 @@
&:disabled, &:disabled,
&.disabled, &.disabled,
fieldset:disabled & { // stylelint-disable-line selector-no-qualifying-type fieldset:disabled & {
pointer-events: none; pointer-events: none;
opacity: $btn-disabled-opacity; opacity: $btn-disabled-opacity;
@include box-shadow(none); @include box-shadow(none);

View File

@ -39,7 +39,6 @@
} }
// Highlight border color between thead, tbody and tfoot. // Highlight border color between thead, tbody and tfoot.
// stylelint-disable-next-line selector-max-universal
> :not(:last-child) > :last-child > * { > :not(:last-child) > :last-child > * {
border-bottom-color: $table-group-seperator-color; border-bottom-color: $table-group-seperator-color;
} }
@ -77,7 +76,6 @@
// to the `td`s or `th`s // to the `td`s or `th`s
.table-bordered { .table-bordered {
// stylelint-disable-next-line selector-max-universal
> :not(caption) > * { > :not(caption) > * {
border-width: $table-border-width 0; border-width: $table-border-width 0;

View File

@ -1,5 +1,3 @@
// stylelint-disable no-duplicate-selectors
// //
// Grid examples // Grid examples
// //