1
0
Fork 0

Display banner images a bit nicer

This commit is contained in:
Ryan Fox 2021-01-10 21:35:14 +00:00
parent ea39adf374
commit 7eb414190a
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 3 additions and 1 deletions

View File

@ -251,7 +251,9 @@ accountView subView currentUser accountInfo =
, div [ id "account", class "timeline" ]
[ div
[ 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" ]
[ followButton currentUser accountInfo.relationship account