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
Accessibility: Linter issues with the border, width etc. #787
Accessibility: Linter issues with the border, width etc. #787
Conversation
…f github.com:RaspberryPiFoundation/editor-ui into a11y/769-Explore_logical_properties_as_a_linter_rule
…nto a11y/786-Accessibility_Linter_issues_with_the_border_width_etc
|
|
|
|
|
|
|
"stylelint-scss" | ||
], | ||
"extends": ["stylelint-config-recommended-scss"], | ||
"plugins": ["stylelint-scss", "stylelint-use-logical"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stylelint-use-logical
looks like a really useful plugin, one to keep an eye on but it doesn't look particularly active or highly used. We've got much worse dependencies than this in the projects site we need to sort but might be worth checking to see if other options are around
src/assets/stylesheets/Sidebar.scss
Outdated
@@ -86,7 +86,7 @@ | |||
&--selected { | |||
background-color: var(--sidebar-panel-background); | |||
border-radius: $space-0-5 0 0 $space-0-5; | |||
border-block: 1px solid var(--sidebar-border); | |||
border: 1px solid var(--sidebar-border); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ why change this from border-block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's post-merge bug, fixed. Thank you
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks and works great 🥳
closes #786