Skip to content

Commit a4455d3

Browse files
authored
Fix alignment in actions right view (#29979)
Fixes: #29974, Regression from #29640. Depending on the number of steps on the left side, the right side will vertically expand. Collapse it with `align-self`. <img width="1308" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/9bcede9c-d869-4f3f-8a10-026c74c03f71">
1 parent ecbc9ce commit a4455d3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web_src/js/components/RepoActionView.vue

+2-3
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,8 @@ export function initRepositoryActionView() {
628628
flex-direction: column;
629629
border: 1px solid var(--color-console-border);
630630
border-radius: var(--border-radius);
631+
background: var(--color-console-bg);
632+
align-self: flex-start;
631633
}
632634
633635
/* begin fomantic button overrides */
@@ -687,10 +689,8 @@ export function initRepositoryActionView() {
687689
justify-content: space-between;
688690
align-items: center;
689691
padding: 0 12px;
690-
background-color: var(--color-console-bg);
691692
position: sticky;
692693
top: 0;
693-
border-radius: var(--border-radius);
694694
height: 60px;
695695
z-index: 1;
696696
}
@@ -711,7 +711,6 @@ export function initRepositoryActionView() {
711711
}
712712
713713
.job-step-container {
714-
background-color: var(--color-console-bg);
715714
max-height: 100%;
716715
border-radius: 0 0 var(--border-radius) var(--border-radius);
717716
border-top: 1px solid var(--color-console-border);

0 commit comments

Comments
 (0)