your personal website on atproto - mirror blento.app

format

Florian 733d60ae 7c3271b7

+4 -2
+3 -1
src/lib/cards/ButtonCard/ButtonCard.svelte
··· 13 13 <span 14 14 class={cn( 15 15 'text-base-950 dark:text-base-50 line-clamp-1 inline-flex items-center justify-center px-4 text-2xl font-semibold', 16 - item.color === 'transparent' ? 'bg-accent-500 dark:text-base-950 text-xl rounded-2xl px-5 py-2.5' : '' 16 + item.color === 'transparent' 17 + ? 'bg-accent-500 dark:text-base-950 rounded-2xl px-5 py-2.5 text-xl' 18 + : '' 17 19 )} 18 20 > 19 21 {item.cardData.text || 'Click me'}
+1 -1
src/lib/cards/ButtonCard/ButtonCardSettings.svelte
··· 22 22 id="button-href" 23 23 bind:value={item.cardData.href} 24 24 placeholder="youtube.com" 25 - class="text-sm mt-2" 25 + class="mt-2 text-sm" 26 26 onkeydown={(event) => { 27 27 if (event.code === 'Enter') { 28 28 event.preventDefault();