Skip to content

Commit

Permalink
polish debug console arrows
Browse files Browse the repository at this point in the history
fixes #86016
  • Loading branch information
isidorn committed Dec 5, 2019
1 parent 4b394b9 commit c8eb6fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions src/vs/workbench/contrib/debug/browser/media/repl.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
cursor: pointer;
}

.monaco-workbench.mac .repl .repl-tree .monaco-tl-twistie {
padding-right: 0px;
}

.repl .repl-tree .output.expression.value-and-source {
display: flex;
Expand All @@ -42,11 +45,11 @@
.repl .repl-tree .monaco-tl-contents .arrow {
position:absolute;
left: 2px;
opacity: 0.3;
opacity: 0.25;
}

.vs-dark .repl .repl-tree .monaco-tl-contents .arrow {
opacity: 0.45;
opacity: 0.4;
}

.repl .repl-tree .output.expression.value-and-source .source {
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/debug/browser/repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ class ReplEvaluationInputsRenderer implements ITreeRenderer<ReplEvaluationInput,
}

renderTemplate(container: HTMLElement): IReplEvaluationInputTemplateData {
dom.append(container, $('span.arrow.codicon.codicon-arrow-small-right'));
dom.append(container, $('span.arrow.codicon.codicon-chevron-right'));
const input = dom.append(container, $('.expression'));
const label = new HighlightedLabel(input, false);
return { label };
Expand All @@ -636,7 +636,7 @@ class ReplEvaluationResultsRenderer implements ITreeRenderer<ReplEvaluationResul
constructor(private readonly linkDetector: LinkDetector) { }

renderTemplate(container: HTMLElement): IReplEvaluationResultTemplateData {
dom.append(container, $('span.arrow.codicon.codicon-arrow-small-left'));
dom.append(container, $('span.arrow.codicon.codicon-chevron-left'));
const output = dom.append(container, $('.evaluation-result.expression'));
const value = dom.append(output, $('span.value'));
const annotation = dom.append(output, $('span'));
Expand Down

0 comments on commit c8eb6fd

Please sign in to comment.