Skip to content

Commit

Permalink
[style] keep form elements wide even if in a span
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Dec 24, 2023
1 parent 89dfd33 commit ce962cb
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions ext/static_files/style.css
Original file line number Diff line number Diff line change
@@ -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;}
Expand Down

0 comments on commit ce962cb

Please sign in to comment.