Skip to content

Commit

Permalink
Truncate content and mobile welcome banner
Browse files Browse the repository at this point in the history
**Why**: These could also overflow, or cause undesireable line breaks
  • Loading branch information
el-mapache committed May 2, 2017
1 parent ec90560 commit 285a1a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/accounts/_account_item.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.col.col-8
.bold.col.col-12.sm-col-6
= name
.col.col-8.sm-col-6
.col.col-12.sm-col-6.truncate
= content if local_assigns.key? :content
.col.col-4.right-align
- if local_assigns.key? :path
Expand Down
4 changes: 2 additions & 2 deletions app/views/accounts/_header.html.slim
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.clearfix.py2.sm-py0.mb2.bg-light-blue.sm-bg-none
.sm-col.sm-col-8
h2.h3.m0.center.sm-left-align
h2.h3.my0.mx2.center.sm-left-align
.sm-hide.regular.sans-serif.inline
span
= t('account.welcome')
',
p.mb0.bold
p.mb0.bold.truncate
= view_model.header_personalization
span.sm-show
= t('headings.account.login_info')
Expand Down

0 comments on commit 285a1a2

Please sign in to comment.