Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't replace top/right/bottom/left declarations with inset #375

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

BPScott
Copy link
Member

@BPScott BPScott commented Mar 28, 2023

Description

Disable the autofix added in Stylelint 15.3 that replaces top/right/bottom/left definitions with inset, as inset is only supported in iOS Safari 14.5+, which we still potentially support.

This is an example of the autofix behaviour that we want to disable:

a {
-  top: 1;
-  right: 2;
-  bottom: 3;
-  left: 4;
+  inset: 1 2 3 4;
}

Inset is only supported in iOS Safari 14.5+, which we can still
potentially support
@BPScott BPScott merged commit 7a0dcd1 into main Mar 29, 2023
@BPScott BPScott deleted the ignore-inset branch March 29, 2023 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants