Always show action buttons below user content.

This commit is contained in:
Roger Braun 2016-11-28 16:10:03 +01:00
parent e0a108fcab
commit 2f7e5c8770

View File

@ -15,26 +15,28 @@
</a> </a>
</div> </div>
<div class="media-body"> <div class="media-body">
<h4 class="media-heading"> <div class="user-content">
{{status.user.name}} <h4 class="media-heading">
<small><a :href="status.user.statusnet_profile_url">{{status.user.screen_name}}</a></small> {{status.user.name}}
<small v-if="status.in_reply_to_screen_name"> &gt; <a :href="status.in_reply_to_profileurl">{{status.in_reply_to_screen_name}}</a></small> <small><a :href="status.user.statusnet_profile_url">{{status.user.screen_name}}</a></small>
- <small v-if="status.in_reply_to_screen_name"> &gt; <a :href="status.in_reply_to_profileurl">{{status.in_reply_to_screen_name}}</a></small>
<small> -
<router-link :to="{ name: 'conversation', params: { id: status.id } }"> <small>
{{status.created_at_parsed}} <router-link :to="{ name: 'conversation', params: { id: status.id } }">
</router-link> {{status.created_at_parsed}}
</small> </router-link>
<small v-if="!status.is_local" class="source_url"> </small>
<a :href="status.external_url" target="_blank" >Source</a> <small v-if="!status.is_local" class="source_url">
</small> <a :href="status.external_url" target="_blank" >Source</a>
</h4> </small>
</h4>
<div class="status-content" v-html="status.statusnet_html"></div> <div class="status-content" v-html="status.statusnet_html"></div>
<div v-if='status.attachments' class='attachments'> <div v-if='status.attachments' class='attachments'>
<attachment :status-id="status.id" :nsfw="status.nsfw" :attachment="attachment" v-for="attachment in status.attachments"> <attachment :status-id="status.id" :nsfw="status.nsfw" :attachment="attachment" v-for="attachment in status.attachments">
</attachment> </attachment>
</div>
</div> </div>
<div v-if="loggedIn"> <div v-if="loggedIn">
@ -65,6 +67,10 @@
word-wrap: break-word; word-wrap: break-word;
word-break: break-word; word-break: break-word;
.user-content {
min-height: 52px;
}
.source_url { .source_url {
float: right; float: right;
} }