1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 14:28:24 +09:00

Fix profile avatar being slightly offset into left border (fixes #20822) (#20994)

* hotfix for #20822

I don't know why it was shifted in the first place or why the width is specified twice, but this fixes the problem, so it looks fine to me.

* realigned pfp with content below

* fixed formatting 

my bad

* added comment to explain the negative margin

before I forget - comments are *important* !

Co-authored-by: Riedler <riedler@gelse.eu>
This commit is contained in:
Riedler 2022-12-15 15:57:02 +01:00 committed by GitHub
parent 52540771b0
commit c3388f4ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7021,7 +7021,6 @@ noscript {
display: block;
flex: 0 0 auto;
width: 94px;
margin-left: -2px;
.account__avatar {
background: darken($ui-base-color, 8%);
@ -7038,6 +7037,7 @@ noscript {
padding-top: 10px;
gap: 8px;
overflow: hidden;
margin-left: -2px; // aligns the pfp with content below
&__buttons {
display: flex;