your personal website on atproto - mirror blento.app

improve editing

+2 -2
+2 -2
src/lib/cards/BaseCard/BaseEditingCard.svelte
··· 194 194 ]} 195 195 {...rest} 196 196 > 197 - {#if !item.cardData?.locked} 197 + {#if isCoarse?.() ? !isSelected : !item.cardData?.locked} 198 198 <!-- svelte-ignore a11y_click_events_have_key_events --> 199 199 <div 200 200 role="button" 201 201 tabindex="-1" 202 - class={['absolute inset-0', isCoarse?.() ? 'cursor-pointer' : 'cursor-grab']} 202 + class={['absolute inset-0', isCoarse?.() ? 'z-20 cursor-pointer' : 'cursor-grab']} 203 203 onclick={(e) => { 204 204 if (isCoarse?.()) { 205 205 e.stopPropagation();