fix:change the place where the tooltip should appear

This commit is contained in:
Pavel Laptev 2024-03-01 01:47:28 +01:00 committed by GitButler
parent 7eabc10e4f
commit 50512c79ba

View File

@ -16,7 +16,6 @@
<div
class="wrapper"
use:tooltip={isNavCollapsed ? project?.title : ''}
use:clickOutside={{
handler: () => {
popup.hide();
@ -27,6 +26,7 @@
>
<button
class="button"
use:tooltip={isNavCollapsed ? project?.title : ''}
on:click={(e) => {
visible = popup.toggle();
e.preventDefault();