mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 01:22:12 +03:00
Fixed truncation of virtual branch names in tray
This commit is contained in:
parent
1bda2fa3df
commit
99eefcb772
@ -128,18 +128,18 @@
|
|||||||
{@const latestModifiedAt = branch.files.at(0)?.hunks.at(0)?.modifiedAt}
|
{@const latestModifiedAt = branch.files.at(0)?.hunks.at(0)?.modifiedAt}
|
||||||
<div
|
<div
|
||||||
on:contextmenu|preventDefault={(e) => yourBranchContextMenu.openByMouse(e, branch)}
|
on:contextmenu|preventDefault={(e) => yourBranchContextMenu.openByMouse(e, branch)}
|
||||||
class="border-b border-light-400 p-2 pl-2 pr-4 dark:border-dark-600"
|
class="border-b border-light-400 p-2 dark:border-dark-600"
|
||||||
title={branch.name}
|
title={branch.name}
|
||||||
>
|
>
|
||||||
<div class="flex flex-row justify-between">
|
<div class="flex flex-row justify-between">
|
||||||
<div>
|
<div class="w-full flex">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
on:change={() => toggleBranch(branch.id, branch.active)}
|
on:change={() => toggleBranch(branch.id, branch.active)}
|
||||||
bind:checked={branch.active}
|
bind:checked={branch.active}
|
||||||
/>
|
/>
|
||||||
<span class="ml-2 cursor-pointer text-black dark:text-white">
|
<div class="ml-2 cursor-pointer text-black dark:text-white truncate w-full">
|
||||||
{branch.name}
|
{branch.name}
|
||||||
</span>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{#if !branch.active}
|
{#if !branch.active}
|
||||||
<div class={branch.mergeable ? 'text-green-500' : 'text-red-500'}>●</div>
|
<div class={branch.mergeable ? 'text-green-500' : 'text-red-500'}>●</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user