diff --git a/src/vs/workbench/contrib/comments/electron-browser/commentsEditorContribution.ts b/src/vs/workbench/contrib/comments/electron-browser/commentsEditorContribution.ts index 9f80cac14ce8b2c1bcf0679777a812efa879c79d..803e746cc67220a48d7a174c0ace84b7d692ef53 100644 --- a/src/vs/workbench/contrib/comments/electron-browser/commentsEditorContribution.ts +++ b/src/vs/workbench/contrib/comments/electron-browser/commentsEditorContribution.ts @@ -770,6 +770,6 @@ registerThemingParticipant((theme, collector) => { const statusBarItemActiveBackground = theme.getColor(STATUS_BAR_ITEM_ACTIVE_BACKGROUND); if (statusBarItemActiveBackground) { - collector.addRule(`.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label:active { background-color: ${statusBarItemActiveBackground}; border: none;}`); + collector.addRule(`.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label:active { background-color: ${statusBarItemActiveBackground}; border: 1px solid transparent;}`); } }); diff --git a/src/vs/workbench/contrib/comments/electron-browser/media/review.css b/src/vs/workbench/contrib/comments/electron-browser/media/review.css index 9694788d3c7461ca288f68f382bc56290ec298fa..aa195a0cd7a00078d5ec213d18cb241761c8f8a4 100644 --- a/src/vs/workbench/contrib/comments/electron-browser/media/review.css +++ b/src/vs/workbench/contrib/comments/electron-browser/media/review.css @@ -47,6 +47,10 @@ margin-left: auto; } +.monaco-editor .review-widget .body .review-comment .comment-actions .monaco-toolbar { + height: 21px; +} + .monaco-editor .review-widget .body .review-comment .comment-actions .action-item { width: 22px; } @@ -179,6 +183,7 @@ background-repeat: no-repeat; background-position: center; margin-top: 3px; + border: none; } .monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions:hover .action-item a.action-label.toolbar-toggle-pickReactions { @@ -210,6 +215,10 @@ background-image: url(./reaction-hc.svg); } +.monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label{ + border: 1px solid transparent; +} + .monaco-editor .review-widget .body .review-comment .review-comment-contents .comment-reactions .action-item a.action-label.active { border: 1px solid grey; }