From abc9f06d93b9f380301da14fb9073771cadd71f5 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 21 Feb 2017 11:48:08 +0100 Subject: Use runtime only build. --- src/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.js b/src/main.js index 97156b64..22879b34 100644 --- a/src/main.js +++ b/src/main.js @@ -67,8 +67,7 @@ new Vue({ router, store, el: '#app', - template: '', - components: { App } + render: h => h(App) }) window.fetch('/static/config.json') -- cgit v1.2.3-70-g09d2 From 137a7e643d22be6461f79cc134df1e459c576228 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 21 Feb 2017 15:24:05 +0100 Subject: Remove flex from general attachments. --- src/components/attachment/attachment.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 738a1e86..e0eba6a9 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -16,8 +16,6 @@ - Don't know how to display this... -
@@ -38,12 +36,12 @@ flex-wrap: wrap; .attachment { flex: 1 0 30%; - display: flex; margin: 0.5em 0.8em 0.6em 0.1em; align-self: flex-start; &.html { flex-basis: 100%; + display: flex; } .hider { -- cgit v1.2.3-70-g09d2 From 40fe40d96b2a4dadf706637954b529ee80af75a4 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 21 Feb 2017 15:24:35 +0100 Subject: Better attachment removal styling. --- src/components/post_status_form/post_status_form.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 1bad41c7..ebb92b26 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -6,11 +6,11 @@
@@ -52,6 +52,15 @@ .attachments { padding: 0.5em; + + i { + position: absolute; + margin: 10px; + padding: 5px; + background: rgba(230,230,230,0.6); + border-radius: 0.5em; + font-weight: bold; + } } form { -- cgit v1.2.3-70-g09d2