Hide proplate if there's not enough space

This is an improvement, especailly for the followers-list
on the advanced web interface. Previously, the proplate would've taken
the whole space that's available, hiding the display name completely.
This commit is contained in:
nachtjasmin 2023-07-17 10:55:14 +02:00
parent 0240489456
commit 32063e7400
No known key found for this signature in database

View file

@ -7,6 +7,14 @@
text-transform: lowercase;
animation: proplate-fadein 0.15s linear;
font-weight: 500;
/*
For users of the advanced view, the proplate shouldn't take all available space.
Most of the times this was working fine, by setting it explicitly it definitely works
across all places of Mastodon.
*/
overflow: hidden;
text-overflow: ellipsis;
}
/* dark theme */