diff --git a/pkg/web_server/styles.templ b/pkg/web_server/styles.templ index b5232f6..eae261e 100644 --- a/pkg/web_server/styles.templ +++ b/pkg/web_server/styles.templ @@ -325,6 +325,7 @@ templ styles() { margin: 4px 0; background: #262626; padding: 8px; + overflow-wrap: break-word; } body.mail .mail-header div:nth-child(odd) { @@ -349,5 +350,13 @@ templ styles() { white-space: pre-wrap; } + @media (max-width: 1500px) { + body.mail .mail-header, body.mail main { + width: 90%; + max-width: 975px; + } + } + + }