[frontend/components] Improve visibility of usernames on mobile and in notifications
This commit is contained in:
parent
353b665080
commit
b08f7b0ed3
3 changed files with 22 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
flex-basis: 50%;
|
flex-basis: 30%;
|
||||||
flex-shrink: 2;
|
flex-shrink: 2;
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
|
@ -34,3 +34,13 @@
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1000px) {
|
||||||
|
.metadata {
|
||||||
|
flex-basis: 25%;
|
||||||
|
|
||||||
|
.instance {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -14,7 +14,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.display-name {
|
.display-name {
|
||||||
white-space: wrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: clip;
|
overflow: clip;
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,16 @@
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::deep .notification-note {
|
||||||
|
.metadata {
|
||||||
|
flex-basis: 20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.instance {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
::deep .notification-header .avatar {
|
::deep .notification-header .avatar {
|
||||||
margin-right: 0.75em;
|
margin-right: 0.75em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue