my website at ewancroft.uk

fix(profile-card): background & text wrapping

Replace gradient utility with bg-linear-to-r and add wrap-break-words to description

ewancroft.uk f4a29952 b0cdb556

verified
Changed files
+2 -2
src
lib
components
layout
main
+2 -2
src/lib/components/layout/main/card/ProfileCard.svelte
··· 72 72 loading="lazy" 73 73 /> 74 74 {:else} 75 - <div class="h-full w-full bg-gradient-to-r from-primary-400 to-secondary-400"></div> 75 + <div class="h-full w-full bg-linear-to-r from-primary-400 to-secondary-400"></div> 76 76 {/if} 77 77 </div> 78 78 ··· 109 109 110 110 {#if safeProfile.description} 111 111 <p 112 - class="overflow-wrap-anywhere mb-4 break-words whitespace-pre-wrap text-ink-700 dark:text-ink-200" 112 + class="overflow-wrap-anywhere wrap-break-words mb-4 whitespace-pre-wrap text-ink-700 dark:text-ink-200" 113 113 > 114 114 {safeProfile.description} 115 115 </p>