remove old rule that wasn't working properly

This commit is contained in:
Ashley Harrison 2022-03-23 11:59:11 +00:00
parent 9a5970900e
commit 41a96ebad2
No known key found for this signature in database
GPG Key ID: AEC29E54E8D7CD90
4 changed files with 9 additions and 17 deletions

View File

@ -41,7 +41,7 @@ pre {
&.pre--no-style {
background: transparent;
border: none;
border: 0;
padding: 0px;
}

View File

@ -126,7 +126,7 @@ $input-border: 1px solid $input-border-color;
margin-right: $space-xs;
border-radius: $input-border-radius;
justify-content: space-between;
border: none;
border: 0;
&--grow {
flex-grow: 1;
@ -159,7 +159,7 @@ $input-border: 1px solid $input-border-color;
}
&--btn {
border: none;
border: 0;
border-radius: $border-radius;
&:hover {
@ -183,7 +183,7 @@ $input-border: 1px solid $input-border-color;
margin: 0;
margin-right: $space-xs;
border: $border-width solid transparent;
border-left: none;
border-left: 0;
@include border-radius($input-border-radius);
}
@ -453,7 +453,7 @@ select.gf-form-input ~ .gf-form-help-icon {
.cta-form__close {
background: transparent;
padding: 4px 8px 4px 9px;
border: none;
border: 0;
position: absolute;
right: 0;
top: -2px;

View File

@ -85,7 +85,7 @@ input:checked + .gf-form-switch__slider::before {
height: $input-height;
background: $switch-bg;
border: 1px solid $input-border-color;
border-left: none;
border-left: 0;
border-radius: $input-border-radius;
align-items: center;
justify-content: center;
@ -99,7 +99,7 @@ input:checked + .gf-form-switch__slider::before {
&--transparent {
background: transparent;
border: none;
border: 0;
width: 23px;
height: auto;
position: relative;
@ -110,7 +110,7 @@ input:checked + .gf-form-switch__slider::before {
width: 20px;
background: transparent;
height: auto;
border: none;
border: 0;
position: relative;
top: -5px;
}
@ -135,5 +135,5 @@ input:checked + .gf-form-switch__checkbox::before {
input:checked + .gf-form-switch__checkbox {
background: $checkbox-checked-bg;
border: none;
border: 0;
}

View File

@ -13,14 +13,6 @@ module.exports = {
ignoreProperties: ['font-size', 'word-break'],
},
],
// Disable equivalent "borderZero" sass-lint rule
'declaration-property-value-disallowed-list': {
border: [0],
'border-top': [0],
'border-right': [0],
'border-bottom': [0],
'border-left': [0],
},
'function-comma-space-after': null,
'function-url-quotes': null,
'length-zero-no-unit': null,