Merge pull request #346 from h3poteto/fix/space

Fix float setting in toot view
This commit is contained in:
AkiraFukushima 2018-05-29 08:18:14 +09:00 committed by GitHub
commit 6e73a04a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@
<div class="timestamp"> <div class="timestamp">
{{ parseDatetime(originalMessage(message).created_at) }} {{ parseDatetime(originalMessage(message).created_at) }}
</div> </div>
<div class="clearfix"></div>
</div> </div>
<div class="content-wrapper"> <div class="content-wrapper">
<div class="spoiler" v-show="spoilered(message)"> <div class="spoiler" v-show="spoilered(message)">
@ -324,7 +325,9 @@ function findLink (target) {
} }
.detail { .detail {
margin: 0 8px 0 42px; margin: 0 8px 0 8px;
float: left;
width: calc(100% - 52px);
.toot-header { .toot-header {
.user { .user {
@ -352,6 +355,7 @@ function findLink (target) {
text-align: right; text-align: right;
width: 100%; width: 100%;
color: #909399; color: #909399;
flota: right;
} }
} }