diff --git a/.changeset/metal-hounds-behave.md b/.changeset/metal-hounds-behave.md new file mode 100644 index 0000000000..981d73bdb9 --- /dev/null +++ b/.changeset/metal-hounds-behave.md @@ -0,0 +1,5 @@ +--- +'@openproject/primer-view-components': patch +--- + +Fix invalid CSS rule for `input_width: :auto` diff --git a/app/components/primer/alpha/text_field.pcss b/app/components/primer/alpha/text_field.pcss index afc3f33af1..9678ca99f8 100644 --- a/app/components/primer/alpha/text_field.pcss +++ b/app/components/primer/alpha/text_field.pcss @@ -228,7 +228,7 @@ /* widths */ @define-mixin FormControl-input-width { &.FormControl-input-width--auto { - max-width: auto; + width: auto; } &.FormControl-input-width--small {