fix: add word-break: break-word; to <a> and <code> (#860)

closes https://github.com/CaiJimmy/hugo-theme-stack/issues/746
This commit is contained in:
Jimmy Cai 2023-08-15 11:47:48 +02:00 committed by GitHub
parent 1668ebc3e4
commit eefa686661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,6 +264,11 @@
font-family: var(--code-font-family); font-family: var(--code-font-family);
} }
a,
code {
word-break: break-word;
}
.gallery { .gallery {
position: relative; position: relative;
display: flex; display: flex;