about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-19 14:11:09 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-19 14:11:09 +0100
commit5d72b922715e04f620026598624f6898e0f267c3 (patch)
treedfcd48b610588c3caa97f30f80c645f4ccbf770a /app/views/accounts
parent71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe (diff)
Improving account grid cards layout for longer usernames and notes
Diffstat (limited to 'app/views/accounts')
-rw-r--r--app/views/accounts/_grid_card.html.haml2
1 files changed, 1 insertions, 1 deletions
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)