gearheads
/
mastodon
Archived
2
0
Fork 0

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>
gh/stable
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
1 changed files with 1 additions and 1 deletions

View File

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