responsive friends table

This commit is contained in:
Christian Fehmer 2025-09-04 12:29:40 +02:00 committed by Christian Fehmer
parent 1379d53c2a
commit 196db502d0
6 changed files with 81 additions and 1 deletions

View file

@ -62,6 +62,12 @@
&:last-child {
text-align: right;
}
//don't wrap friendsfor rand streak into multiple lines
&:nth-child(2),
&:nth-child(6) {
white-space: nowrap;
}
}
.sub {

View file

@ -230,8 +230,24 @@
// border-radius: 0.15em;
// }
}
}
.pageFriends {
.content .friends table {
font-size: 0.75rem;
//hide friends for, tests
td:nth-child(2),
td:nth-child(4),
td:nth-child(6) {
//border: 1px dashed red;
display: none;
}
.badge .text {
display: none;
}
}
}
}
@media (pointer: coarse) and (max-width: 778px) {
#restartTestButton {
display: block !important;

View file

@ -101,4 +101,21 @@
}
}
}
.pageFriends {
.content .friends table {
font-size: 0.75rem;
td:nth-child(2),
td:nth-child(3),
td:nth-child(4),
td:nth-child(5),
td:nth-child(6) {
display: none;
}
.badge .text {
display: none;
}
}
}
}

View file

@ -277,4 +277,18 @@
}
}
}
.pageFriends {
.content .friends table {
font-size: 0.9rem;
td:nth-child(2),
td:nth-child(6) {
display: none;
}
.badge .text {
display: none;
}
}
}
}

View file

@ -322,4 +322,22 @@
.modalWrapper .modal .inputs.withLabel {
grid-template-columns: 1fr;
}
.pageFriends {
.content .friends table {
font-size: 0.75rem;
td:nth-child(2),
td:nth-child(3),
td:nth-child(4),
td:nth-child(5),
td:nth-child(6) {
display: none;
}
.badge .text {
display: none;
}
}
}
}

View file

@ -85,4 +85,13 @@
}
}
}
.pageFriends {
.content .friends table {
font-size: 0.9rem;
.badge .text {
display: none;
}
}
}
}