forked from FoundKeyGang/FoundKey
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:
parent
f9eaf56491
commit
a74cd802fe
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue