Skip to content

Commit 76b33ab

Browse files
Copilotalexr00
andauthored
Fix button missing rounded corners when hasSingleAction is true
Add CSS rule for button.split-left:only-child to restore full border-radius and border-right when the split-left button is the only child in the container (i.e., when split/split-right elements are not rendered because hasSingleAction is true). Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/bf4729e0-f0d3-4c05-88a6-cf04d33863be
1 parent 736a8a0 commit 76b33ab

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

webviews/common/common.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,11 @@ button.split-left {
430430
border-right: none;
431431
}
432432

433+
button.split-left:only-child {
434+
border-radius: 4px;
435+
border-right: 1px solid var(--vscode-button-border, transparent);
436+
}
437+
433438
.split {
434439
background-color: var(--vscode-button-background);
435440
border-top: 1px solid var(--vscode-button-border);

0 commit comments

Comments
 (0)