Merge pull request #227 from tms/wrap-long-titles

Help long titles wrap more cleanly
This commit is contained in:
Sam 2013-02-21 18:55:20 -08:00
commit 6f7ec7dc21
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,9 @@
<div class='clearfix info'> <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> <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> <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}} {{#unless description}}
<span class="type"> <span class="type">
{{#if isPM}} {{#if isPM}}

View File

@ -273,7 +273,7 @@
margin-right: 10px; margin-right: 10px;
} }
.title { .title {
display: inline-block; display: block;
margin-bottom: 4px; margin-bottom: 4px;
font-size: 14px; font-size: 14px;
} }