about summary refs log tree commit diff
path: root/app/javascript/styles/mastodon/widgets.scss
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-05-03 22:04:18 +0200
committerGitHub <noreply@github.com>2020-05-03 22:04:18 +0200
commitc0b849bdfda8a2386bc85836d2d181890746de98 (patch)
treef164b7e7305c5730c3a2d584849ed1b686604951 /app/javascript/styles/mastodon/widgets.scss
parente223fd8c6190661237ea43e7773e47513c48fd46 (diff)
Fix use of inline CSS in public pages (#13576)
Change `account_link_to` to use an image tag rather than some
inline CSS. Dropped the `size` parameter in the process, but it wasn't
used for anything except the default value of 36px.

Dropped CSS rules that were always overriden, and defaulted to 36px width
and height instead.
Diffstat (limited to 'app/javascript/styles/mastodon/widgets.scss')
-rw-r--r--app/javascript/styles/mastodon/widgets.scss6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/javascript/styles/mastodon/widgets.scss b/app/javascript/styles/mastodon/widgets.scss
index ca050a8d9..5b97d1ec4 100644
--- a/app/javascript/styles/mastodon/widgets.scss
+++ b/app/javascript/styles/mastodon/widgets.scss
@@ -93,12 +93,6 @@
       display: flex;
       align-items: center;
     }
-
-    .account__avatar {
-      width: 44px;
-      height: 44px;
-      background-size: 44px 44px;
-    }
   }
 
   .trends__item {