diff --git a/make-pages/SinglePage.hs b/make-pages/SinglePage.hs
index 5e483be..d2195dc 100644
--- a/make-pages/SinglePage.hs
+++ b/make-pages/SinglePage.hs
@@ -154,11 +154,13 @@ make' root siteName prefix nsfw _dataDir dir
$2.buttonBar
@@ -193,7 +195,7 @@ last' xs = if null xs then Nothing else Just $ last xs
makeArtist :: Artist -> Builder
makeArtist (Artist {name, url}) =
- [b|
by $artistLink
|]
+ [b|by $artistLink
|]
where
artistLink = case url of
Just u -> [b|
$name|]
diff --git a/style/shiny/single.css b/style/shiny/single.css
index cc0a213..b002bf2 100644
--- a/style/shiny/single.css
+++ b/style/shiny/single.css
@@ -96,10 +96,13 @@
}
#info figure {
- width: min-content;
margin: 0.25em auto;
}
+#info figure img {
+ max-width: 100%;
+}
+
#info .light-bg {
background: hsl(0deg, 0%, 100%, 75%);
padding: 5px;
@@ -109,6 +112,7 @@
#info .floating {
float: right;
margin-left: 0.8em;
+ max-width: 40%;
}
#info .floating.left {