Skip to content

Commit ca55327

Browse files
committed
Add label to stage view
1 parent 7ad2c4e commit ca55327

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/main/frontend/pipeline-console-view/pipeline-console/main/PipelineConsole.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export default function PipelineConsole() {
5858
{(mainViewVisibility === "both" ||
5959
mainViewVisibility === "stageOnly") && (
6060
<div className={"pgv-graph-view-thing"}>
61+
<div className={"pgv-graph-view-thing__heading"}>Stage</div>
6162
<PipelineGraph
6263
stages={stages}
6364
onStageSelect={handleStageSelect}

src/main/frontend/pipeline-console-view/pipeline-console/main/pipeline-console.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
border-radius: var(--form-input-border-radius);
1313
overflow: hidden;
1414
height: 100%;
15+
16+
&__heading {
17+
display: flex;
18+
min-height: 40px;
19+
align-items: center;
20+
padding-left: 0.75rem;
21+
font-weight: var(--font-bold-weight);
22+
font-size: var(--font-size-sm);
23+
color: var(--text-color-secondary);
24+
}
1525
}
1626

1727
.ansi-fg-0 {

src/main/frontend/pipeline-console-view/pipeline-console/main/split-view.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
display: grid;
44
gap: var(--section-padding);
55
animation: fade-in 0.1s ease-in-out both;
6+
min-height: calc((100vh + var(--section-padding)) - (var(--header-height) + 46px + 64px));
67
}
78

89
@keyframes fade-in {

0 commit comments

Comments
 (0)