This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Improving account grid cards layout for longer usernames and notes
closed-social-glitch-2
Eugen Rochko
8 years ago
parent
71ae4dd3d2
commit
5d72b92271
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
app/assets/stylesheets/accounts.scss
+1
-1
app/views/accounts/_grid_card.html.haml
+ 3
- 0
app/assets/stylesheets/accounts.scss
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
;
+ 1
- 1
app/views/accounts/_grid_card.html.haml
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)
Write
Preview
Loading…
Cancel
Save