[fix] simple theme: cookie table doesn't overflow the expected width

This commit is contained in:
Alexandre Flament 2021-10-30 10:01:18 +02:00
parent 46fde2e98e
commit 9f0b47f525
1 changed files with 12 additions and 5 deletions

View File

@ -52,17 +52,25 @@
} }
table.cookies { table.cookies {
width: auto; width: 100%;
th, th,
td { td {
text-align: left; text-align: left;
padding: 0.25em; font-family: monospace;
font-size: 1rem;
padding: 0.5em;
vertical-align: top;
} }
th:first-child,
td:first-child { td:first-child {
padding-right: 4em; word-break: keep-all;
width: 14rem;
padding-right: 1rem;
}
td:last-child {
word-break: break-all;
} }
& > tbody > tr:nth-child(even) > th, & > tbody > tr:nth-child(even) > th,
@ -88,7 +96,6 @@
padding: 0.7em; padding: 0.7em;
a { a {
display: block;
color: var(--color-settings-return-font); color: var(--color-settings-return-font);
} }