aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorboastful-squirrel <boastful.squirrel@gmail.com>2019-04-16 20:02:40 +0000
committerboastful-squirrel <boastful.squirrel@gmail.com>2019-04-16 20:02:40 +0000
commita724f65caf297ce398cdd1634b1844c3de43dd8a (patch)
treeddc05d1813cb5803de90e14aab1e1ca3bd84bcb1 /src
parentOnly run tests on Linux (diff)
downloadminiserve-a724f65caf297ce398cdd1634b1844c3de43dd8a.tar.gz
miniserve-a724f65caf297ce398cdd1634b1844c3de43dd8a.zip
Wrap title instead of overflowing
Diffstat (limited to 'src')
-rw-r--r--src/renderer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index bccfb05..5235a7f 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -306,6 +306,9 @@ fn css(color_scheme: &ColorScheme) -> Markup {
.container {{
padding: 1.5rem 5rem;
}}
+ .title {{
+ word-break: break-word;
+ }}
a {{
text-decoration: none;
}}