my website at ewancroft.uk

fix(profile-card): update wrapping behaviour

Replace wrap-wrap-break-word with more standard wrap-break-words and break-all for better text overflow handling

ewancroft.uk c033e7f7 c20abd19

verified
Changed files
+1 -1
src
lib
components
layout
main
+1 -1
src/lib/components/layout/main/card/ProfileCard.svelte
··· 109 110 {#if safeProfile.description} 111 <p 112 - class="overflow-wrap-anywhere wrap-wrap-break-word mb-4 whitespace-pre-wrap text-ink-700 dark:text-ink-200" 113 > 114 {safeProfile.description} 115 </p>
··· 109 110 {#if safeProfile.description} 111 <p 112 + class="mb-4 wrap-break-words break-all whitespace-pre-wrap text-ink-700 dark:text-ink-200" 113 > 114 {safeProfile.description} 115 </p>