Skip to content

Commit c8c2d4b

Browse files
committed
Adjust icon spacing in path header component
Previously, icon margins simply expanded and contracted as the Git side panel expanded and contracted, leading to unnatural icon alignment. This specifies fixed icon margins and ensures that the icons remain left aligned as the side panel is resized.
1 parent a78cac8 commit c8c2d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/style/PathHeaderStyle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const repoRefreshStyle = style({
3030
boxSizing: 'border-box',
3131
outline: 'none',
3232
padding: '0px 6px',
33-
margin: 'auto 5px auto auto',
33+
margin: 'auto 5px auto 5px',
3434
height: '24px',
3535

3636
$nest: {
@@ -54,7 +54,7 @@ export const gitPushStyle = style({
5454
boxSizing: 'border-box',
5555
outline: 'none',
5656
padding: '0px 6px',
57-
margin: 'auto 5px auto auto',
57+
margin: 'auto 5px auto 5px',
5858
height: '24px',
5959

6060
$nest: {

0 commit comments

Comments
 (0)