]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix use of inline CSS in public pages
authorThibG <thib@sitedethib.com>
Sun, 3 May 2020 20:04:18 +0000 (22:04 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sun, 10 May 2020 14:19:59 +0000 (16:19 +0200)
Port c0b849bdfda8a2386bc85836d2d181890746de98 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/about.scss
app/javascript/flavours/glitch/styles/components/accounts.scss
app/javascript/flavours/glitch/styles/widgets.scss

index f0a44aa944809a82ed0bef083726def30af8ca24..ac5f3ebb04a5447119f13aeefce827ec65565333 100644 (file)
@@ -545,13 +545,6 @@ $small-breakpoint: 960px;
         flex: 0 0 auto;
       }
 
-      &__avatar {
-        width: 44px;
-        height: 44px;
-        background-size: 44px 44px;
-        @include avatar-size(44px);
-      }
-
       .display-name {
         font-size: 15px;
 
@@ -752,12 +745,6 @@ $small-breakpoint: 960px;
         display: flex;
         align-items: center;
       }
-
-      .account__avatar {
-        width: 44px;
-        height: 44px;
-        background-size: 44px 44px;
-      }
     }
 
     &__counters__wrapper {
index ccd620215ddf38b21772cca4e0653db0e7fa00a1..610e48f920e232efba93c9924da23c31e2ceaf73 100644 (file)
 
 .account__avatar {
   @include avatar-radius();
+  display: block;
   position: relative;
   cursor: pointer;
 
+  width: 36px;
+  height: 36px;
+  background-size: 36px 36px;
+
   &-inline {
     display: inline-block;
     vertical-align: middle;
index a6f7fc0bec2ec73b9d6cf32e6744e6b9893b85de..5314255738fcd273dc16de2deaf0e8444326e968 100644 (file)
       display: flex;
       align-items: center;
     }
-
-    .account__avatar {
-      width: 44px;
-      height: 44px;
-      background-size: 44px 44px;
-    }
   }
 
   .trends__item {