diff options
| author | Christine Dodrill <me@christine.website> | 2016-12-14 12:04:18 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2016-12-14 12:04:18 -0800 |
| commit | 9c1c336ec43ddae47a910ca7c5d2996672adf157 (patch) | |
| tree | af50d3099704088daee82b4495c9eb3768e15129 /frontend/src | |
| parent | 81206835d5ddb8760086085d758b049f73ea0801 (diff) | |
| download | xesite-9c1c336ec43ddae47a910ca7c5d2996672adf157.tar.xz xesite-9c1c336ec43ddae47a910ca7c5d2996672adf157.zip | |
frontend: cleanup imports
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/BlogEntry.purs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/src/BlogEntry.purs b/frontend/src/BlogEntry.purs index c104a78..b75399c 100644 --- a/frontend/src/BlogEntry.purs +++ b/frontend/src/BlogEntry.purs @@ -8,8 +8,8 @@ import Data.Maybe (Maybe(..)) import Network.HTTP.Affjax (AJAX, get) import Prelude (bind, pure, show, ($), (<>), (<<<)) import Pux (EffModel, noEffects) -import Pux.Html (Html, div, h1, h2, p, text) -import Pux.Html.Attributes (id_) +import Pux.Html (Html, div, h1, p, text) +import Pux.Html.Attributes (className, id_) data Action = RequestPost | ReceivePost (Either String Post) @@ -70,9 +70,9 @@ view { id: id, status: status, post: (Post post) } = case id of Nothing -> div [] [] (Just _) -> - div [] + div [ className "row" ] [ h1 [] [ text status ] - , div [] + , div [ className "col s6 offset-s3" ] [ p [ id_ "blogpost" ] [ text post.body ] ] ] |
