Skip to content

Commit a4b6773

Browse files
author
Rachel Macfarlane
committed
Ellipsis on text overflow in comments panel, fixes microsoft/vscode-pull-request-github#122
1 parent a8f286b commit a4b6773

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • src/vs/workbench/parts/comments/electron-browser/media

src/vs/workbench/parts/comments/electron-browser/media/panel.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,15 @@
3030
opacity: 0.5;
3131
}
3232

33+
.comments-panel .comments-panel-container .tree-container .comment-container .text {
34+
flex: 1;
35+
min-width: 0;
36+
}
37+
3338
.comments-panel .comments-panel-container .tree-container .comment-container .text * {
3439
margin: 0;
40+
text-overflow: ellipsis;
41+
overflow: hidden;
3542
}
3643

3744
.comments-panel .comments-panel-container .message-box-container {
@@ -49,6 +56,5 @@
4956

5057
.comments-panel .comments-panel-container .tree-container .comment-container {
5158
line-height: 22px;
52-
text-overflow: ellipsis;
53-
overflow: hidden;
59+
margin-right: 5px;
5460
}

0 commit comments

Comments
 (0)