From 500b704c0f93059b75b8943e3351cdac63270b0f Mon Sep 17 00:00:00 2001
From: Roger Braun <roger@rogerbraun.net>
Date: Sat, 29 Oct 2016 01:38:41 +0200
Subject: Fix up nsfw and some styling.

---
 src/components/status/status.vue | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'src/components/status/status.vue')

diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 04a55f67..a6a5aac2 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -26,7 +26,7 @@
         <div v-html="status.statusnet_html"></div>
 
         <div v-if='status.attachments' class='attachments'>
-          <attachment :nsfw="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>
         </div>
 
@@ -49,3 +49,13 @@
 </template>
 
 <script src="./status.js" ></script>
+
+<style lang="scss">
+ .status-el {
+     word-wrap: break-word;
+
+     a {
+         word-break: break-all;
+     }
+ }
+</style>
-- 
cgit v1.2.3-70-g09d2

