fix(VerticalNavBar): tab label overflow

This commit is contained in:
Tim 2023-12-19 12:17:54 +01:00
parent 2613a0698d
commit 4f9bd2a702

View file

@ -40,14 +40,19 @@
.label { .label {
flex: none; flex: none;
position: relative;
max-width: 100%;
max-height: 2.4em; max-height: 2.4em;
padding: 0 0.2rem; padding: 0 0.5rem;
font-size: 0.8rem; font-size: 0.8rem;
font-weight: 500; font-weight: 500;
letter-spacing: 0.01rem; letter-spacing: 0.01rem;
text-align: center; text-align: center;
white-space: nowrap;
text-overflow: ellipsis;
color: var(--primary-foreground-color); color: var(--primary-foreground-color);
opacity: 0; opacity: 0;
overflow: hidden;
} }
} }