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

refactor: simplify isValidCSSLength by using CSS.supports #8644

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Feb 6, 2025

Description

The PR refactors the isValidCSSLength method in FormLayout to use CSS.supports which is supported by all modern browsers. As a result, it also removes the need for the style element that was previously added as a child of FormLayout.

Part of #8583

Type of change

  • Refactor

Copy link

sonarqubecloud bot commented Feb 6, 2025

@vursen vursen merged commit 052eeef into main Feb 6, 2025
9 checks passed
@vursen vursen deleted the refactor/form-layout/use-css-supports branch February 6, 2025 09:47
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.

3 participants