mirror of
https://github.com/bretzel-app/crumbs.git
synced 2026-10-12 12:06:57 +02:00
fix: show action buttons on mobile note cards
On touch devices, hover states don't work, so the pin/archive/delete buttons were invisible. Now they're always visible on screens below the md breakpoint and only hover-toggled on desktop. https://claude.ai/code/session_013DdAk1yj6r3VF6Ze4ycidp
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
{/if}
|
||||
|
||||
<!-- Action buttons - show on hover -->
|
||||
<div class="absolute bottom-1 right-1 flex gap-1 opacity-0 transition-opacity group-hover:opacity-100">
|
||||
<div class="absolute bottom-1 right-1 flex gap-1 max-md:opacity-100 md:opacity-0 transition-opacity md:group-hover:opacity-100">
|
||||
{#if $currentFilter === 'trashed'}
|
||||
<button
|
||||
onclick={stop(() => restoreNote(note.id))}
|
||||
|
||||
Reference in New Issue
Block a user