aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/form.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/form.css')
-rw-r--r--static/form.css8
1 files changed, 5 insertions, 3 deletions
diff --git a/static/form.css b/static/form.css
index cb86003..0e0f978 100644
--- a/static/form.css
+++ b/static/form.css
@@ -9,13 +9,14 @@ form {
gap: 8px;
max-width: max-content;
- label:has(+ input, + textarea) {
+ label:has(+ input, + textarea, + select) {
display: block;
font-size: 10pt;
color: #555;
}
input:not([type="checkbox"]),
- textarea {
+ textarea,
+ select {
display: block;
border: 1px solid #3334;
border-radius: 8px;
@@ -25,7 +26,8 @@ form {
font-size: inherit;
color: inherit;
background: #fff;
- width: min(60vw, 24em, calc(100% - 16px));
+ width: min(60vw, 24em, 100%);
+ box-sizing: border-box;
}
textarea {
resize: vertical;