mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-08 22:50:00 +08:00
responsive friends table
This commit is contained in:
parent
1379d53c2a
commit
196db502d0
6 changed files with 81 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,4 +85,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.pageFriends {
|
||||
.content .friends table {
|
||||
font-size: 0.9rem;
|
||||
|
||||
.badge .text {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue