fix(app): use consistent dialog sizes (#63432)

This commit is contained in:
Dax
2026-11-14 16:44:58 -05:00
committed by GitHub
Unverified
parent 9f1639c732
commit 46744b6469
29 changed files with 87 additions and 151 deletions
+18
View File
@@ -0,0 +1,18 @@
id: dialog-size
language: css
severity: error
message: Choose a Dialog size preset instead of sizing its container or content here.
ignores:
- packages/ui/src/overlays/dialog/dialog.css
rule:
kind: declaration
has:
kind: property_name
regex: '^(min-|max-)?(width|height|inline-size|block-size)$'
inside:
kind: block
inside:
kind: rule_set
has:
kind: selectors
regex: '\[data-slot=["'']dialog-(container|content)["'']\][^\s>+~]*\s*(,|$)'