Skip to content

Commit d2139ee

Browse files
committed
[JENKINS-76029] Fix pipeline branch labels overflowing into sidebar
The Pipeline plugin uses ::before pseudo-elements with position:absolute and translateX(-100%) to place branch labels in the left margin of console output. When labels are long, they overflow into the sidebar. This fix overrides the plugin styling to display labels inline with the console output text instead of in the left margin.
1 parent 1ce1de6 commit d2139ee

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/scss/pages/_build.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,3 +303,11 @@ body:has(.app-settings-container) {
303303
margin-block: 1.0625rem;
304304
}
305305
}
306+
307+
// Fix for JENKINS-76029: Prevent pipeline branch labels from overflowing into sidebar
308+
// The Pipeline plugin uses ::before pseudo-elements with position:absolute and translateX(-100%)
309+
// to place labels in the left margin. Override this to display inline instead.
310+
.console-output [class*="pipeline-node-"]::before {
311+
position: static !important;
312+
transform: none !important;
313+
}

0 commit comments

Comments
 (0)