about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorfsubal <fsubal@users.noreply.github.com>2017-04-20 02:20:51 +0900
committerEugen <eugen@zeonfederated.com>2017-04-19 19:20:51 +0200
commitabe16a7026d5d2087c08138f0fe7d0c6776d896e (patch)
treedafed0b6ba45afa05b2ff3ed846287a826931ef4 /app
parentbaabbce6727555bf7047c5e989ac0ad75aa847fc (diff)
fix broken style when follower has long description (#2159)
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/accounts.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss
index f9a698824..11d155d54 100644
--- a/app/assets/stylesheets/accounts.scss
+++ b/app/assets/stylesheets/accounts.scss
@@ -237,13 +237,14 @@
 }
 
 .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;
@@ -253,11 +254,9 @@
   .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) {