Improved input layout in swimlanes

This commit is contained in:
GitButler 2023-07-05 17:07:03 +02:00 committed by Ian Donahue
parent 75bafd01a8
commit 4e94679552

View File

@ -31,7 +31,7 @@
$: remoteCommits = commits.filter((c) => c.isRemote);
$: localCommits = commits.filter((c) => !c.isRemote);
$: messageRows = Math.min(Math.max(commitMessage ? commitMessage.split('\n').length : 0, 2), 10);
$: messageRows = Math.min(Math.max(commitMessage ? commitMessage.split('\n').length : 0, 1), 10);
let allExpanded: boolean | undefined;
let maximized = false;
@ -153,7 +153,8 @@
type="text"
bind:value={name}
on:change={handleBranchNameChange}
class="border-0 bg-light-200 text-light-900 dark:bg-dark-1000 dark:font-normal dark:text-dark-100"
title={name}
class="w-full truncate border-0 bg-light-200 text-light-900 dark:bg-dark-1000 dark:font-normal dark:text-dark-100"
/>
</div>
<button