Login form, post status form, status css fixes.

This commit is contained in:
Roger Braun 2016-11-12 21:31:41 +01:00
parent f0f5d8c913
commit c9ab70db8e
3 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,5 @@
<template> <template>
<div class="panel panel-default"> <div class="login panel panel-default">
<!-- Default panel contents --> <!-- Default panel contents -->
<div class="panel-heading"> <div class="panel-heading">
Log in Log in

View file

@ -20,7 +20,7 @@
<script src="./post_status_form.js"></script> <script src="./post_status_form.js"></script>
<style lang="scss"> <style lang="scss">
.post-status-form { .post-status-form, .login {
.form-bottom { .form-bottom {
display: flex; display: flex;
padding: 0.5em; padding: 0.5em;

View file

@ -23,9 +23,7 @@
<small>{{status.created_at_parsed}}</small> <small>{{status.created_at_parsed}}</small>
</h4> </h4>
<p> <div class="status-content" v-html="status.statusnet_html"></div>
<div v-html="status.statusnet_html"></div>
</p>
<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">
@ -65,6 +63,11 @@
display: inline-block; display: inline-block;
word-break: break-all; word-break: break-all;
} }
.status-content {
margin-top: 3px;
margin-bottom: 3px;
}
} }
.status-actions { .status-actions {