fix(web): prevent overflow on long links from lemmy

This commit is contained in:
əlemi 2024-06-28 04:11:45 +02:00
parent 157c97694e
commit 8b5e6d805d
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -80,6 +80,9 @@
hyphens: auto; hyphens: auto;
border-left: solid 3px var(--background-secondary); border-left: solid 3px var(--background-secondary);
} }
article {
word-break: break-word;
}
article.tl { article.tl {
color: var(--text); color: var(--text);
border-left: solid 3px var(--accent); border-left: solid 3px var(--accent);
@ -87,7 +90,6 @@
margin-right: 1em; margin-right: 1em;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
word-wrap: break-word;
} }
article p { article p {
margin: 0 0 0 .5em; margin: 0 0 0 .5em;