CSS: Add class to automatically style forms

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-08-14 18:06:38 +02:00
parent 9f3c37ab0c
commit 7ee7452042

View File

@@ -320,6 +320,30 @@ table {
border-spacing: 0;
}
/*
Form Tables
*/
table.form {
width: 100%;
margin-top: 1rem;
margin-bottom: 1rem;
}
table.form:last-child {
margin-bottom: 0;
}
table.form tr td:first-child {
width: 30%;
}
table.form tr.action td {
padding-top: 1rem;
text-align: right;
}
.tbl {
width: 100%;
}