about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorRiedler <github@riedler.wien>2022-12-15 15:57:02 +0100
committerGitHub <noreply@github.com>2022-12-15 15:57:02 +0100
commitc3388f4ab151a2603fabd67dadea435f851eaf12 (patch)
tree5f333576e8f12d337321815974a2b489c482ca31 /app
parent52540771b0e7f69d2d1e0c21b558976000e807e5 (diff)
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>
Diffstat (limited to 'app')
-rw-r--r--app/javascript/styles/mastodon/components.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 1271fc7f3..f5d442a85 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -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;