mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-30 23:47:42 +03:00
Clean up formatting.
This commit is contained in:
parent
fd0d44836a
commit
2cba862b67
@ -13,7 +13,8 @@ view :
|
||||
view posts =
|
||||
Element.column
|
||||
[ Element.spacing 10
|
||||
, Border.widthEach { bottom = 0, left = 0, right = 1, top = 1 }
|
||||
, Border.widthEach { bottom = 0, left = 0, right = 1, top = 0 }
|
||||
, Border.color (Element.rgba255 40 80 40 0.4)
|
||||
, Element.padding 12
|
||||
, Element.height Element.fill
|
||||
]
|
||||
|
@ -159,13 +159,20 @@ pageView model siteMetadata page =
|
||||
]
|
||||
|> Element.textColumn
|
||||
[ Element.width Element.fill
|
||||
, Element.height Element.fill
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
header : Element msg
|
||||
header =
|
||||
Element.row [ Element.padding 20, Element.spaceEvenly, Element.Region.navigation ]
|
||||
Element.row
|
||||
[ Element.paddingXY 25 4
|
||||
, Element.spaceEvenly
|
||||
, Element.Region.navigation
|
||||
, Element.Border.widthEach { bottom = 1, left = 0, right = 0, top = 0 }
|
||||
, Element.Border.color (Element.rgba255 40 80 40 0.4)
|
||||
]
|
||||
[ Element.link []
|
||||
{ url = "/"
|
||||
, label =
|
||||
|
Loading…
Reference in New Issue
Block a user