Fix monitoring table layout & text wrapping

This commit is contained in:
Mononaut
2024-06-20 03:09:54 +00:00
parent 02eb633d89
commit 25b510359f
3 changed files with 8 additions and 17 deletions

View File

@@ -20,26 +20,21 @@
td, th {
padding: 0.25em;
width: 0%;
&.rank, &.flag {
width: 28px;
text-align: right;
}
&.updated {
display: none;
width: 130px;
text-align: right;
white-space: pre-wrap;
white-space: nowrap;
}
&.rtt, &.height {
width: 92px;
text-align: right;
}
&.only-small {
display: table-cell;
&.rtt {
width: 60px;
}
}
&.only-large {
display: none;
@@ -48,21 +43,17 @@
padding-right: 0.5em;
}
&.host {
width: auto;
width: 100%;
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (min-width: 576px) {
&.rank, &.flag {
width: 32px;
}
&.updated {
display: table-cell;
}
&.rtt, &.height {
width: 96px;
}
&.only-small {
display: none;
}