Skip to content

Commit bdb9ee7

Browse files
committed
add ellipsis overflow
1 parent c0a2336 commit bdb9ee7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

web_src/css/features/expander.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ text-expander .suggestions,
55
max-width: min(500px, 95vw);
66
overflow-x: hidden;
77
overflow-y: auto;
8-
overflow-wrap: anywhere;
8+
white-space: nowrap;
99
background: var(--color-menu);
1010
box-shadow: 0 6px 18px var(--color-shadow);
1111
border-radius: var(--border-radius);
@@ -55,15 +55,12 @@ text-expander .suggestions li:only-child {
5555
border-radius: var(--border-radius);
5656
}
5757

58-
text-expander .suggestions .name,
59-
.tribute-container li .name {
60-
white-space: nowrap;
61-
}
62-
6358
text-expander .suggestions .fullname,
6459
.tribute-container li .fullname {
6560
font-weight: var(--font-weight-normal);
6661
color: var(--color-text-light-1);
62+
overflow: hidden;
63+
text-overflow: ellipsis;
6764
}
6865

6966
text-expander .suggestions li:hover,

0 commit comments

Comments
 (0)