Merge pull request #2958 from gitbutlerapp/Sidebar-tooltip-place-fix

fix:change the place where the tooltip should appear
This commit is contained in:
Pavel Laptev 2024-03-01 01:50:13 +01:00 committed by GitHub
commit 4db5a1c3ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();