mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-05 02:24:28 +03:00
Clean up formatting.
This commit is contained in:
parent
fd0d44836a
commit
2cba862b67
@ -13,7 +13,8 @@ view :
|
|||||||
view posts =
|
view posts =
|
||||||
Element.column
|
Element.column
|
||||||
[ Element.spacing 10
|
[ 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.padding 12
|
||||||
, Element.height Element.fill
|
, Element.height Element.fill
|
||||||
]
|
]
|
||||||
|
@ -159,13 +159,20 @@ pageView model siteMetadata page =
|
|||||||
]
|
]
|
||||||
|> Element.textColumn
|
|> Element.textColumn
|
||||||
[ Element.width Element.fill
|
[ Element.width Element.fill
|
||||||
|
, Element.height Element.fill
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
header : Element msg
|
header : Element msg
|
||||||
header =
|
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 []
|
[ Element.link []
|
||||||
{ url = "/"
|
{ url = "/"
|
||||||
, label =
|
, label =
|
||||||
|
Loading…
Reference in New Issue
Block a user