提交 4e15db0b 编写于 作者: E Eric Amodio 提交者: Eric Amodio

Fixes always white comment body border

上级 f25cb535
......@@ -884,13 +884,18 @@ export class ReviewZoneWidget extends ZoneWidget implements ICommentThreadWidget
}
private _applyTheme(theme: IColorTheme) {
const borderColor = theme.getColor(peekViewBorder) || Color.transparent;
const borderColor = theme.getColor(peekViewBorder);
this.style({
arrowColor: borderColor,
frameColor: borderColor
arrowColor: borderColor || Color.transparent,
frameColor: borderColor || Color.transparent
});
const content: string[] = [];
if (borderColor) {
content.push(`.monaco-editor .review-widget > .body { border-top: 1px solid ${borderColor} }`);
}
const linkColor = theme.getColor(textLinkForeground);
if (linkColor) {
content.push(`.monaco-editor .review-widget .body .comment-body a { color: ${linkColor} }`);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册