mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-10-26 13:12:25 +03:00
tooptip: flex-auto
This commit is contained in:
parent
e9405f9342
commit
1cd7d11de9
@ -37,7 +37,7 @@
|
||||
</script>
|
||||
|
||||
<div
|
||||
class="h-fit w-fit"
|
||||
class="flex-auto overflow-auto"
|
||||
on:mouseenter={() => (timeout = setTimeout(() => (showTooltip = true), timeoutMilliseconds))}
|
||||
on:mouseleave={() => {
|
||||
clearTimeout(timeout);
|
||||
|
@ -143,9 +143,9 @@
|
||||
<div class="flex items-center justify-between gap-2">
|
||||
<Tooltip label={$head}>
|
||||
<div
|
||||
class="flex items-center gap-2 rounded border border-zinc-600 bg-zinc-700 py-2 px-4 text-zinc-300"
|
||||
class="flex items-center gap-1 rounded border border-zinc-600 bg-zinc-700 py-2 px-4 text-zinc-300"
|
||||
>
|
||||
<IconGitBranch class="h-4 w-4 fill-zinc-400 stroke-none" />
|
||||
<IconGitBranch class="h-7 w-7 fill-zinc-400 stroke-none" />
|
||||
<span title={$head} class="truncate font-mono text-zinc-300">
|
||||
{$head}
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user