Monorepo for Tangled tangled.org

appview: allow long unbreakable text to wrap in prose content #949

merged opened by moshyfawn.dev targeting master from moshyfawn.dev/core: fix/long-link-prose-overflow

Prevents horizontal scrollbar overflow in Safari when markdown content contains long unbreakable strings like URLs

Signed-off-by: moshyfawn email@moshyfawn.dev

Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:sshwio5obbx4zjfrn3fhsen6/sh.tangled.repo.pull/3mcat6oaqqh22
+4
Diff #0
+4
input.css
··· 133 disabled:before:bg-green-400 dark:disabled:before:bg-green-600; 134 } 135 136 .prose hr { 137 @apply my-2; 138 }
··· 133 disabled:before:bg-green-400 dark:disabled:before:bg-green-600; 134 } 135 136 + .prose { 137 + overflow-wrap: anywhere; 138 + } 139 + 140 .prose hr { 141 @apply my-2; 142 }

Submissions

sign up or login to add to the discussion
moshyfawn.dev submitted #0
1 commit
expand
appview: allow long unbreakable text to wrap in prose content
moshyfawn.dev

A good example: #148. The URL overflows on a small enough screen, causing the horizontal scrollbar to appear.

oppi.li

while I can't test on safari, this looks good to merge! thanks!

moshyfawn.dev

๐Ÿ™

pull request successfully merged