Added ellipsies for workspaces names that overflow the selector

This commit is contained in:
mr. M
2024-10-18 18:37:55 +02:00
parent e8534e61cd
commit 22adb293f7

View File

@@ -287,11 +287,17 @@
border-color: color-mix(in srgb, var(--identity-tab-color) 40%, transparent 60%); border-color: color-mix(in srgb, var(--identity-tab-color) 40%, transparent 60%);
} }
& > vbox:has(> .zen-workspace-name) {
overflow: hidden;
}
& .zen-workspace-name { & .zen-workspace-name {
font-weight: 600; font-weight: 600;
display: inline-block;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
width: 100%;
} }
& .zen-workspace-container { & .zen-workspace-container {