diff --git a/templates/asset.qtpl.go b/templates/asset.qtpl.go index 1a83ff5..c74e613 100644 --- a/templates/asset.qtpl.go +++ b/templates/asset.qtpl.go @@ -47,6 +47,7 @@ blockquote {border-left: 4px black solid; margin-left: 0; padding-left: 1rem;} .wikilink_new:visited {color:#a55858;} .wikilink__destination-type {display: inline; margin: 0 .25rem; vertical-align: sub; } +article { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; } article code {background-color:#eee; padding: .1rem .3rem; border-radius: .25rem; font-size: 90%; } article pre.codeblock {background-color:#eee; padding:.5rem; white-space: pre-wrap; border-radius: .25rem;} .codeblock code {padding:0; font-size:15px;} diff --git a/templates/default.css b/templates/default.css index 8c17e5f..c0a3d7e 100644 --- a/templates/default.css +++ b/templates/default.css @@ -22,6 +22,7 @@ blockquote {border-left: 4px black solid; margin-left: 0; padding-left: 1rem;} .wikilink_new:visited {color:#a55858;} .wikilink__destination-type {display: inline; margin: 0 .25rem; vertical-align: sub; } +article { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; } article code {background-color:#eee; padding: .1rem .3rem; border-radius: .25rem; font-size: 90%; } article pre.codeblock {background-color:#eee; padding:.5rem; white-space: pre-wrap; border-radius: .25rem;} .codeblock code {padding:0; font-size:15px;}