From ce962cb358fbc66b224c219821719fc341d69e1e Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 24 Dec 2023 23:16:46 +0000 Subject: [PATCH] [style] keep form elements wide even if in a span --- ext/static_files/style.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/ext/static_files/style.css b/ext/static_files/style.css index 7ca6389be..b83b60f65 100644 --- a/ext/static_files/style.css +++ b/ext/static_files/style.css @@ -1,14 +1,15 @@ ARTICLE SELECT {width: 150px;} INPUT, TEXTAREA {box-sizing: border-box;} -TD>INPUT[type="button"], -TD>INPUT[type="submit"], -TD>INPUT[type="text"], -TD>INPUT[type="password"], -TD>INPUT[type="email"], -TD>SELECT, -TD>TEXTAREA, -TD>BUTTON {width: 100%;} + +TD>INPUT[type="button"], TD>SPAN>INPUT[type="button"], +TD>INPUT[type="submit"], TD>SPAN>INPUT[type="submit"], +TD>INPUT[type="text"], TD>SPAN>INPUT[type="text"], +TD>INPUT[type="password"], TD>SPAN>INPUT[type="password"], +TD>INPUT[type="email"], TD>SPAN>INPUT[type="email"], +TD>SELECT, TD>SPAN>SELECT, +TD>TEXTAREA, TD>SPAN>TEXTAREA, +TD>BUTTON, TD>SPAN>BUTTON {width: 100%;} TABLE.form {width: 300px;} TABLE.form TD, TABLE.form TH {vertical-align: middle;}