diff --git a/src/form.css b/src/form.css index 562c7a0..200476e 100644 --- a/src/form.css +++ b/src/form.css @@ -52,9 +52,13 @@ textarea { border: .2rem solid #b7b7b7; border-radius: .2rem; display: block; - margin: 0 0 1.2rem 0; + margin: 0 0 var(--gap-half) 0; padding: var(--padding); } +label.number, +input[type="range"] { + margin: 0 0 var(--gap) 0; +} input[type="number"]:focus, input[type="password"]:focus, input[type="text"]:focus, @@ -194,9 +198,6 @@ label.number { gap: var(--gap); padding: 0; } -* + label.number { - margin: var(--gap) 0 0 0; -} label.number span { flex-grow: 1; padding: 0 0 0 var(--padding); diff --git a/src/index.html b/src/index.html index 31493a0..333f00c 100644 --- a/src/index.html +++ b/src/index.html @@ -84,6 +84,14 @@