about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/assets/stylesheets/accounts.scss3
-rw-r--r--app/views/accounts/_grid_card.html.haml2
2 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/stylesheets/accounts.scss b/app/assets/stylesheets/accounts.scss
index 303360b1a..ab39c8be0 100644
--- a/app/assets/stylesheets/accounts.scss
+++ b/app/assets/stylesheets/accounts.scss
@@ -227,9 +227,12 @@
     }
 
     .name {
+      width: 333-20-60-15px;
+      float: left;
       padding-top: 10px;
 
       a {
+        display: block;
         color: #282c37;
         text-decoration: none;
 
diff --git a/app/views/accounts/_grid_card.html.haml b/app/views/accounts/_grid_card.html.haml
index 6245e910d..454272d8c 100644
--- a/app/views/accounts/_grid_card.html.haml
+++ b/app/views/accounts/_grid_card.html.haml
@@ -5,4 +5,4 @@
       = link_to url_for_target(account) do
         %span.display_name= display_name(account)
         %span.username= "@#{account.acct}"
-  %p.note= account.note
+  %p.note= truncate(account.note, length: 124)