Commit 64ca989
committed
Fixes stray gap in Commit Graph header for published branches
The publish button host remained in the flex row even when it rendered
nothing (branch already has an upstream), and the parent's
`min-width: 3.1rem` icon-only floor forced the empty host to occupy
that width. Gate `gl-publish-button` in the parent so it's only in the
DOM when the branch has no upstream, mirroring the component's own
render guard.1 parent 7615620 commit 64ca989
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| |||
0 commit comments