From ee46a79dc30ea240cde12fa4186a74a526d34496 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 2 Oct 2022 18:13:22 -0500 Subject: [PATCH] [css] use min-content on toggleable inputs #121 --- simple.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simple.css b/simple.css index 19900c9..88e6b7c 100644 --- a/simple.css +++ b/simple.css @@ -491,10 +491,10 @@ input[type="radio"]:checked::after { } } -/* Ensures the checkbox and radio inputs do not have a set width like other input fields */ +/* Keep toggleable inputs from expanding to full width */ input[type="checkbox"], input[type="radio"] { - width: auto; + width: min-content; } /* Set a height for color input */