mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-28 03:55:02 +03:00
Some minimal stuff for the UI
just don’t have an expand thing
This commit is contained in:
parent
5fc68c8201
commit
cd0ad44157
@ -21,6 +21,7 @@ export class File {
|
||||
modifiedAt!: Date;
|
||||
conflicted!: boolean;
|
||||
content!: string;
|
||||
binary!: boolean;
|
||||
}
|
||||
|
||||
export class Branch {
|
||||
|
@ -84,7 +84,7 @@
|
||||
class="flex w-full flex-col justify-center gap-2 border-b border-t border-light-400 bg-light-50 py-1 text-light-900 dark:border-dark-400 dark:bg-dark-800 dark:text-light-300"
|
||||
>
|
||||
<div
|
||||
class="flex pl-2 cursor-default"
|
||||
class="flex cursor-default pl-2"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
on:dblclick={() => {
|
||||
@ -116,10 +116,12 @@
|
||||
tabindex="0"
|
||||
class="cursor-pointer px-3 py-2 text-light-600 dark:text-dark-200"
|
||||
>
|
||||
{#if expanded}
|
||||
<IconTriangleUp />
|
||||
{:else}
|
||||
<IconTriangleDown />
|
||||
{#if !file.binary}
|
||||
{#if expanded}
|
||||
<IconTriangleUp />
|
||||
{:else}
|
||||
<IconTriangleDown />
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user