Skip to content

Commit

Permalink
Improve commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
haggen committed Nov 18, 2023
1 parent 7748eff commit 6cb94f0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/resetize.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ summary {
display: revert;
}

/* Better control when setting width and height. */
/* Better control when sizing elements. */

*,
*::before,
Expand All @@ -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,
Expand Down Expand Up @@ -222,14 +223,16 @@ textarea {
word-wrap: break-word;
}

/* Fix issues with box height. */
/* Fix form controls inline alignment. */

input,
select,
textarea {
vertical-align: bottom;
}

/* Enable resizing of textarea. */

textarea {
resize: auto;
}
Expand All @@ -238,7 +241,7 @@ textarea {

@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
scroll-behavior: smooth;
}
}

Expand Down

0 comments on commit 6cb94f0

Please sign in to comment.