diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:11:09 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:11:09 +0100 |
commit | 5d72b922715e04f620026598624f6898e0f267c3 (patch) | |
tree | dfcd48b610588c3caa97f30f80c645f4ccbf770a /app | |
parent | 71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe (diff) |
Improving account grid cards layout for longer usernames and notes
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/accounts.scss | 3 | ||||
-rw-r--r-- | app/views/accounts/_grid_card.html.haml | 2 |
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) |