fix overlapping text and other layout weirdness
This commit is contained in:
parent
db83137243
commit
f16c2f549a
2 changed files with 10 additions and 4 deletions
|
@ -154,11 +154,13 @@ make' root siteName prefix nsfw _dataDir dir
|
|||
<div class=page>
|
||||
<header>
|
||||
<h1>$title</h1>
|
||||
$artistTag
|
||||
<h2 id=date class="right corner">
|
||||
$formattedDate $updateDate
|
||||
</h2>
|
||||
<a class="left corner" href=$undir>back to gallery</a>
|
||||
<h2 class="left corner">
|
||||
$artistTag
|
||||
<a href=$undir>back to gallery</a>
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
$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|<h2 id=artist class="left corner">by $artistLink</h2>|]
|
||||
[b|by $artistLink <br>|]
|
||||
where
|
||||
artistLink = case url of
|
||||
Just u -> [b|<a href="$u">$name</a>|]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue