From 97595a03c2fb3a0e6712392c80e18f2dae597398 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Tue, 28 Nov 2023 09:21:22 +0100 Subject: [PATCH] Fix invalid CSS rule for `input_width: :auto` --- .changeset/metal-hounds-behave.md | 5 +++++ app/components/primer/alpha/text_field.pcss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/metal-hounds-behave.md 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 {