Skip to content

Commit

Permalink
Help long titles wrap more cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
tms committed Feb 22, 2013
1 parent 2b5be29 commit 8ec7165
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
<div class='clearfix info'>
<a href="/users/{{unbound username}}" class='avatar-link'><div class='avatar-wrapper'>{{avatar this imageSize="large" extraClasses="actor" avatarTemplatePath="avatar_template" ignoreTitle="true"}}</div></a>
<span class='time'>{{date path="created_at" leaveAgo="true"}}</span>
<a class="title" href="{{unbound postUrl}}">{{unbound title}}</a><br>
<span class="title">
<a href="{{unbound postUrl}}">{{unbound title}}</a>
</span>
{{#unless description}}
<span class="type">
{{#if isPM}}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application/user.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
margin-right: 10px;
}
.title {
display: inline-block;
display: block;
margin-bottom: 4px;
font-size: 14px;
}
Expand Down

0 comments on commit 8ec7165

Please sign in to comment.