Skip to content

Commit 7668dff

Browse files
committed
fix: prevent sidebar content overflow on narrow widths
1 parent ff8d2a5 commit 7668dff

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

public/css/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ cap-widget {
464464
left: 0;
465465
bottom: 0;
466466
z-index: 100;
467+
overflow: hidden;
467468
transition: transform var(--transition);
468469
}
469470

@@ -662,6 +663,15 @@ cap-widget {
662663
padding: 8px 12px;
663664
}
664665

666+
.user-info > div:first-child {
667+
min-width: 0;
668+
overflow: hidden;
669+
}
670+
.user-info > div:first-child > div:last-child {
671+
min-width: 0;
672+
overflow: hidden;
673+
}
674+
665675
.user-avatar {
666676
width: 32px;
667677
height: 32px;
@@ -680,11 +690,17 @@ cap-widget {
680690
font-size: 0.85rem;
681691
font-weight: 600;
682692
color: var(--text-primary);
693+
white-space: nowrap;
694+
overflow: hidden;
695+
text-overflow: ellipsis;
683696
}
684697

685698
.user-email {
686699
font-size: 0.75rem;
687700
color: var(--text-muted);
701+
white-space: nowrap;
702+
overflow: hidden;
703+
text-overflow: ellipsis;
688704
}
689705

690706
.main-content {

0 commit comments

Comments
 (0)