Introduce CSS preprocessor linting to warn against use of inline-block
#9374
Labels
release_note:enhancement
Team:Operations
Team label for Operations Team
Team:Platform-Design
Team Label for Kibana Design Team. Support the Analyze group of plugins.
This supersedes #9185.
Background
Using
display: inline-block
introduces subtle UI problems due to the inline-block spacing problem. Let's introduce a CSS preprocessor linter to warn developers against using this property unless absolutely necessary. This will encourage us to use alternatives, such as flexbox layout.Considerations
We're currently using LESS, though #9192 introduces SCSS. If we don't want to use 2 linting tools, we should migrate the LESS to SCSS and then use an SCSS linter.
The text was updated successfully, but these errors were encountered: