[frontend/components] Improve visibility of usernames on mobile and in notifications

This commit is contained in:
pancakes 2025-03-05 11:26:31 +10:00 committed by Laura Hausmann
parent 353b665080
commit b08f7b0ed3
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
3 changed files with 22 additions and 2 deletions

View file

@ -7,7 +7,7 @@
margin-left: auto;
min-width: 0;
overflow: clip;
flex-basis: 50%;
flex-basis: 30%;
flex-shrink: 2;
.info {
@ -34,3 +34,13 @@
overflow: clip;
}
}
@media (max-width: 1000px) {
.metadata {
flex-basis: 25%;
.instance {
display: none;
}
}
}

View file

@ -14,7 +14,7 @@
}
.display-name {
white-space: wrap;
white-space: nowrap;
text-overflow: ellipsis;
overflow: clip;
}

View file

@ -56,6 +56,16 @@
margin-top: 1rem;
}
::deep .notification-note {
.metadata {
flex-basis: 20%;
}
.instance {
display: none;
}
}
::deep .notification-header .avatar {
margin-right: 0.75em;
}