From 462878630e789b4f4e1f9f8b9c19335b72dc127f Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 2 Jul 2025 16:42:27 -0500 Subject: [PATCH] Use automatic sizing where supported --- app/assets/stylesheets/steps.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/assets/stylesheets/steps.css b/app/assets/stylesheets/steps.css index 2f526662c..3e271137f 100644 --- a/app/assets/stylesheets/steps.css +++ b/app/assets/stylesheets/steps.css @@ -66,6 +66,16 @@ &::placeholder { color: var(--card-color); } + + &:is(input) { + max-inline-size: 70ch; + min-inline-size: 30ch; + + @supports (field-sizing: content) { + field-sizing: content; + min-inline-size: 15ch; + } + } } .step__content--edit {