mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 18:57:17 +03:00
fix(app): use consistent dialog sizes (#63432)
This commit is contained in:
@@ -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*(,|$)'
|
||||
Reference in New Issue
Block a user