Fix word wrap in signatures table

Add a test case as well
lektura
Vincent Lequertier 2018-08-26 18:44:06 +02:00
parent c7712c3c37
commit cad3f6ba7f
No known key found for this signature in database
GPG Key ID: 6CD601F050AC5A49
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
"confirm": "jonas@example.com",
"country": "Testland",
"zip": "64632",
"comment": "This is a 12th signature.",
"comment": "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"permissionPriv": "yes",
"permissionNews": "yes",
"permissionPub": "yes",

View File

@ -282,6 +282,7 @@ table#sigtable {
display: table;
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
}
table#sigtable thead, table#sigtable tbody {
width: 100%;
@ -296,7 +297,6 @@ table#sigtable td:nth-child(3), table#sigtable th:nth-child(3) {
width: 50%;
}
table#sigtable thead {
display: table;
background-color: rgba(230, 230, 230, 0.3);
}
table#sigtable th {
@ -304,13 +304,13 @@ table#sigtable th {
}
table#sigtable tr {
width: 100%;
display: table;
text-align: left;
}
table#sigtable th, table#sigtable td {
border-bottom: 1px solid darkgrey;
text-align: left;
padding: 5px;
word-wrap: break-word;
}
table#sigtable tr:nth-child(even) {
background-color: rgba(230, 230, 230, 0.05);