From 6cb94f0802e586eaf4ea997d8816fca4591902d1 Mon Sep 17 00:00:00 2001 From: Arthur Date: Sat, 18 Nov 2023 10:29:50 -0300 Subject: [PATCH] Improve commentary --- src/resetize.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/resetize.css b/src/resetize.css index 50ddb1d..29778d6 100644 --- a/src/resetize.css +++ b/src/resetize.css @@ -115,7 +115,7 @@ summary { display: revert; } -/* Better control when setting width and height. */ +/* Better control when sizing elements. */ *, *::before, @@ -138,9 +138,10 @@ summary { display: none; } +/* Reset form controls and their accessories. */ input[type="number"] { - appearance: textfield; /* Fix for Firefox. No, nothing else works. */ + appearance: textfield; /* Fix for Firefox. Nothing else works. */ } ::-webkit-inner-spin-button, @@ -222,7 +223,7 @@ textarea { word-wrap: break-word; } -/* Fix issues with box height. */ +/* Fix form controls inline alignment. */ input, select, @@ -230,6 +231,8 @@ textarea { vertical-align: bottom; } +/* Enable resizing of textarea. */ + textarea { resize: auto; } @@ -238,7 +241,7 @@ textarea { @media (prefers-reduced-motion: no-preference) { html { - scroll-behavior: smooth; + scroll-behavior: smooth; } }