enhance: don't cut off long instance names

Instead of silently cutting of the name of the instance this should
properly ellipsize the name at the end of the available space.
This commit is contained in:
Johann150 2022-08-25 18:22:40 +02:00
parent f9eaf56491
commit a74cd802fe
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -37,6 +37,8 @@ const bg = {
height: $height;
border-radius: 4px 0 0 4px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
color: #fff;
text-shadow: /* .866 ≈ sin(60deg) */
1px 0 1px #000,