Skip to content

Commit 1b1a5e7

Browse files
authored
Merge pull request #508 from krassowski/completion/width-limit
Limit the width of the completer items
2 parents b37dca6 + 5b5c19d commit 1b1a5e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/completion-theme/style/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@
2424
overflow: auto;
2525
}
2626

27+
.jp-Completer-match {
28+
max-width: 400px;
29+
overflow-x: hidden;
30+
white-space: nowrap;
31+
display: block;
32+
text-overflow: ellipsis;
33+
}
34+
35+
.jp-mod-active .jp-Completer-match {
36+
max-width: 600px;
37+
white-space: break-spaces;
38+
height: auto;
39+
}
40+
2741
.lsp-completer-placeholder:after {
2842
content: 'Loading...';
2943
color: #7f7f7f;

0 commit comments

Comments
 (0)