1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-23 04:07:14 +03:00

Add padding to the whole thing

This commit is contained in:
Artyom 2016-04-23 19:30:43 +03:00
parent de1bf14d67
commit 7729115472
2 changed files with 2 additions and 1 deletions

View File

@ -579,7 +579,7 @@ renderCategoryNotes :: (MonadIO m, MonadRandom m) => Category -> HtmlT m ()
renderCategoryNotes category = do
let thisId = "category-notes-" <> uidToText (category^.uid)
this = JS.selectId thisId
div_ [id_ thisId] $ do
div_ [id_ thisId, class_ "category-notes"] $ do
section "normal" [shown, noScriptShown] $ do
div_ [class_ "notes-like"] $ do

View File

@ -24,6 +24,7 @@ body {
border-top: 1px solid black; }
body {
padding: 0px 15px;
padding-top: 2em;
margin: auto;
max-width: 800px;