From 467dae821390a11567db289c71883f7ed4089e4a Mon Sep 17 00:00:00 2001 From: Alex Ross <38270282+alexr00@users.noreply.github.com> Date: Fri, 27 Nov 2026 13:07:00 +0100 Subject: [PATCH] Fix rendering bug in check Fixes https://github.com/microsoft/vscode-pull-request-github/issues/9216 --- webviews/editorWebview/index.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/webviews/editorWebview/index.css b/webviews/editorWebview/index.css index 40ad888e38..bd241ac4f3 100644 --- a/webviews/editorWebview/index.css +++ b/webviews/editorWebview/index.css @@ -626,9 +626,9 @@ button.input-box { display: none; } -/* Without merge actions, the last row ends the section, whose border it would double. */ -#status-checks > .status-section:has(+ .merge-footer:empty) > .status-item { - border-bottom: none; +/* Without merge actions, the last row ends the section, whose border it would double. Wherever that row's bottom border is, such as under its last check, it is pulled under the section's border and clipped. */ +#status-checks > :is(.status-section, .passing-requirements, .stack-section):has(+ .merge-footer:empty) { + margin-bottom: -1px; } .merge-footer-message { @@ -668,6 +668,8 @@ button.input-box { #status-checks { border: 1px solid var(--vscode-editorHoverWidget-border); border-radius: 6px; + /* Unlike hidden, clip doesn't make the section a scroll container, which links to the stack could scroll. */ + overflow: clip; } #status-checks .label {