logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 818f3730ebfb1e64fbfc370800b89aacbf035de6
parent ad7a7cd24fa665784c122bc26183a0091b64bb73
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 16 Feb 2020 05:35:03 +0100

StaticFE: center the bio

Diffstat:

Mlib/pleroma/web/templates/static_fe/static_fe/profile.html.eex2+-
Mpriv/static/static/static-fe.css14++++++++++++++
2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex b/lib/pleroma/web/templates/static_fe/static_fe/profile.html.eex @@ -10,7 +10,7 @@ <%= raw Formatter.emojify(@user.name, @user.emoji) %> | <%= link "@#{@user.nickname}@#{Endpoint.host()}", to: (@user.uri || @user.ap_id) %> </h3> - <p><%= raw @user.bio %></p> + <p class="user-bio"><%= raw @user.bio %></p> </header> <main> diff --git a/priv/static/static/static-fe.css b/priv/static/static/static-fe.css @@ -1,3 +1,4 @@ +/* ## common ## */ body { background-color: #282c37; font-family: sans-serif; @@ -179,3 +180,16 @@ img.emoji { padding: 0; vertical-align: middle; } + +/* ## user page ## */ + +#pagination { + text-align: center; +} +#pagination a { + margin: 0 1em; +} + +.user-bio { + text-align: center; +}