diff --git a/static/theme.css b/static/theme.css index 083195a..426effe 100644 --- a/static/theme.css +++ b/static/theme.css @@ -55,17 +55,21 @@ th, td { } textarea { - width: 50em; + width: min(100%, 500px); height: 15em; font-size: 1em; } -input[type=text] { - width: 50em; +input[type=text], input[type=password] { + width: min(100%, 20em); font-family: monospace; font-size: 1em; } +td > input[type=text], td > input[type=password] { + width: min(100%, 500px); +} + .logo { margin: 0; padding: 5px; @@ -74,9 +78,13 @@ input[type=text] { font-weight: bold; } +form.form { + width: 90%; +} + table.form { border-collapse: unset; - width: auto; + width: 100%; } table.form > * > tr > td, th { @@ -103,14 +111,6 @@ table.form > * > tr > td, th { padding: 8px; } -.login { - width: 50%; -} - -.login input[type=text], .login input[type=password] { - width: 90%; -} - /* Abuse checkboxes to collapse comments */ .collapse { appearance: none; diff --git a/test/all.sh b/test/all.sh index 691bcb7..8a83a11 100755 --- a/test/all.sh +++ b/test/all.sh @@ -21,4 +21,4 @@ cd $base/.. export DB=$db export SERVER=dev -$FLASK --app main --debug run +$FLASK --app main --debug run $TEST_FLASK_ARGS