Display banner images a bit nicer
This commit is contained in:
parent
ea39adf374
commit
7eb414190a
|
@ -251,7 +251,9 @@ accountView subView currentUser accountInfo =
|
||||||
, div [ id "account", class "timeline" ]
|
, div [ id "account", class "timeline" ]
|
||||||
[ div
|
[ div
|
||||||
[ class "account-detail"
|
[ class "account-detail"
|
||||||
, style [ ( "background-image", "url('" ++ account.header ++ "')" ) ]
|
, style [ ( "background-image", "url('" ++ account.header ++ "')" ),
|
||||||
|
( "background-position", "center" ),
|
||||||
|
( "background-size", "cover" ) ]
|
||||||
]
|
]
|
||||||
[ div [ class "opacity-layer" ]
|
[ div [ class "opacity-layer" ]
|
||||||
[ followButton currentUser accountInfo.relationship account
|
[ followButton currentUser accountInfo.relationship account
|
||||||
|
|
Loading…
Reference in New Issue