]> cat aescling's git repositories - mastodon.git/commitdiff
fix broken style when follower has long description (#2159)
authorfsubal <fsubal@users.noreply.github.com>
Wed, 19 Apr 2017 17:20:51 +0000 (02:20 +0900)
committerEugen <eugen@zeonfederated.com>
Wed, 19 Apr 2017 17:20:51 +0000 (19:20 +0200)
app/assets/stylesheets/accounts.scss

index f9a698824b46490f4dad8c1921817d524969de62..11d155d54bd33f91501e44a8a4886347abba8bc4 100644 (file)
 }
 
 .accounts-grid {
-  clear: both;
   box-shadow: 0 0 15px rgba($color8, 0.2);
   background: $color5;
   border-radius: 0 0 4px 4px;
   padding: 20px 10px;
   padding-bottom: 10px;
   overflow: hidden;
+  display: flex;
+  flex-wrap: wrap;
 
   @media screen and (max-width: 700px) {
     border-radius: 0;
   .account-grid-card {
     box-sizing: border-box;
     width: 335px;
-    float: left;
     border: 1px solid $color2;
     border-radius: 4px;
     color: $color1;
-    height: 160px;
     margin-bottom: 10px;
 
     &:nth-child(odd) {