Skip to content

Commit 60e9585

Browse files
committed
fixup! feat: compact view for mail layouts
Signed-off-by: greta <[email protected]>
1 parent 6e30752 commit 60e9585

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/EnvelopeSkeleton.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,14 +616,22 @@ export default {
616616
flex-direction: row;
617617
align-content: center;
618618
align-items: center;
619+
min-width: 0;
619620
620621
&__name {
622+
flex: 0 0 auto;
623+
min-width: 0;
624+
max-width: 40%;
625+
white-space: nowrap;
626+
overflow: hidden;
627+
text-overflow: ellipsis;
621628
align-self: center;
622-
min-width: 300px;
623629
padding-inline-end: calc(var(--default-grid-baseline) * 2);
624630
}
625631
626632
&__inner {
633+
flex: 1 1 auto;
634+
min-width: 0;
627635
overflow-y: hidden;
628636
}
629637

0 commit comments

Comments
 (0)