Skip to content

Commit

Permalink
fix: align buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Oct 18, 2022
1 parent 90740f3 commit a09bc4a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui/sidebar/components/fileComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@
on:click|self={showDiff}
on:auxclick|self={showDiff}
>
<!-- <div
data-icon="folder"
bind:this={buttons[3]}
style="padding-right: 5px; display: flex;"
/> -->
<div
on:click={showDiff}
on:auxclick={showDiff}
Expand Down Expand Up @@ -145,6 +150,7 @@
margin-left: auto;
.type {
padding-left: var(--size-2-1);
width: 11px;
display: flex;
align-items: center;
justify-content: center;
Expand Down
1 change: 1 addition & 0 deletions src/ui/sidebar/components/stagedFileComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
margin-left: auto;
.type {
padding-left: var(--size-2-1);
width: 11px;
display: flex;
align-items: center;
justify-content: center;
Expand Down
5 changes: 5 additions & 0 deletions src/ui/sidebar/components/treeComponent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@
class="nav-folder-title"
on:click|self={() => fold(entity)}
>
<div
data-icon="folder"
style="padding-right: 5px; display: flex; "
/>
<div
class="nav-folder-collapse-indicator collapse-icon"
on:click={() => fold(entity)}
Expand Down Expand Up @@ -183,6 +187,7 @@
>
</div>
{/if}
<div style="width:11px" />
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/ui/sidebar/gitView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@
}
.files-count {
padding-left: var(--size-2-1);
width: 11px;
display: flex;
align-items: center;
justify-content: center;
Expand Down

0 comments on commit a09bc4a

Please sign in to comment.