mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-22 17:11:43 +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}
|
||||
<div
|
||||
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}
|
||||
>
|
||||
<div class="flex flex-row justify-between">
|
||||
<div>
|
||||
<div class="w-full flex">
|
||||
<Checkbox
|
||||
on:change={() => toggleBranch(branch.id, 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}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{#if !branch.active}
|
||||
<div class={branch.mergeable ? 'text-green-500' : 'text-red-500'}>●</div>
|
||||
|
Loading…
Reference in New Issue
Block a user