mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-15 20:52:53 +08:00
19 lines
1.0 KiB
CSS
19 lines
1.0 KiB
CSS
@layer page {
|
|
/* DHCP leases nowrap by default; `.lases` is upstream's 24.10 spelling (issue #7), do not drop.
|
|
* docs/css.md "Leases: nowrap counted from the end". */
|
|
#view table.fs-dt:is(.leases, .lases, .leases6):not(.fs-stacked) .td { white-space: nowrap; }
|
|
|
|
/* opaque columns re-permitted to wrap; counted from the END, split on column COUNT — docs/css.md
|
|
* above has both matrices and why :where() costs nothing. */
|
|
#view table.fs-dt:is(.leases, .lases):has(:where(.tr.table-titles > :nth-child(6))):not(.fs-stacked)
|
|
.td:is(:nth-last-child(7), :nth-last-child(4)),
|
|
#view table.fs-dt.leases6:has(:where(.tr.table-titles > :nth-child(6))):not(.fs-stacked)
|
|
.td:is(:nth-last-child(6), :nth-last-child(5), :nth-last-child(4)),
|
|
#view table.fs-dt:is(.leases, .lases):not(:has(:where(.tr.table-titles > :nth-child(6)))):not(.fs-stacked)
|
|
.td:nth-last-child(5),
|
|
#view table.fs-dt.leases6:not(:has(:where(.tr.table-titles > :nth-child(6)))):not(.fs-stacked)
|
|
.td:is(:nth-last-child(5), :nth-last-child(4), :nth-last-child(3)) {
|
|
white-space: normal;
|
|
}
|
|
}
|