Improving account grid cards layout for longer usernames and notes

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Eugen Rochko 2016-03-19 14:11:09 +01:00
parent 71ae4dd3d2
commit 5d72b92271
2 changed files with 4 additions and 1 deletions

View File

@ -227,9 +227,12 @@
}
.name {
width: 333-20-60-15px;
float: left;
padding-top: 10px;
a {
display: block;
color: #282c37;
text-decoration: none;

View File

@ -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)