mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 02:54:19 +00:00
Improving account grid cards layout for longer usernames and notes
This commit is contained in:
parent
71ae4dd3d2
commit
5d72b92271
|
@ -227,9 +227,12 @@
|
|||
}
|
||||
|
||||
.name {
|
||||
width: 333-20-60-15px;
|
||||
float: left;
|
||||
padding-top: 10px;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
color: #282c37;
|
||||
text-decoration: none;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue