From 03db8207a463c713d968345fca48de1846d2d528 Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Fri, 1 Jan 2021 01:52:20 -0500 Subject: nonbreaking --- src/Lib.hs | 2 +- static/style.css | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Lib.hs b/src/Lib.hs index 32cbb3f..02ef79b 100644 --- a/src/Lib.hs +++ b/src/Lib.hs @@ -306,7 +306,7 @@ gameCrumbs _ labels periods level = [ instance ToHtml HomeView where toHtml (HomeView (Manifest mediums)) = pageTemplate - [a_ [href_ "https://git.cyfraeviolae.org/antiquitysort"] "source code"] + [a_ [href_ "https://git.cyfraeviolae.org/antiquitysort", class_ "nonbreaking"] "source code"] homeBody where homeBody = div_ [class_ "narrow"] $ do diff --git a/static/style.css b/static/style.css index 6280df7..b46b683 100644 --- a/static/style.css +++ b/static/style.css @@ -99,6 +99,11 @@ p { } .sep { - margin-left: 10px; - margin-right: 10px; + margin-left: 6px; + margin-right: 6px; } + +.nonbreaking { + white-space: nowrap; +} + -- cgit v1.2.3