From 0fd0cdbe341da5d31e51596b1558dd27eb73d458 Mon Sep 17 00:00:00 2001 From: Alina Beck Date: Mon, 2 Sep 2019 16:46:41 +0100 Subject: [PATCH] separate post title and content with hyphens --- webapp/assets/styles/main.scss | 6 ++++++ webapp/components/PostCard/index.vue | 4 ++-- webapp/layouts/default.vue | 2 +- webapp/pages/post/_id/_slug/index.vue | 4 ++-- webapp/pages/profile/_id/_slug.vue | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/webapp/assets/styles/main.scss b/webapp/assets/styles/main.scss index 11652fad0..14fb1461a 100644 --- a/webapp/assets/styles/main.scss +++ b/webapp/assets/styles/main.scss @@ -164,3 +164,9 @@ hr { .v-popover.open .trigger a { color: $text-color-link-active; } + +.hyphenate-text { + hyphens: auto; + overflow-wrap: break-word; + word-wrap: break-word; +} diff --git a/webapp/components/PostCard/index.vue b/webapp/components/PostCard/index.vue index 7c79fe9eb..97541b1cd 100644 --- a/webapp/components/PostCard/index.vue +++ b/webapp/components/PostCard/index.vue @@ -20,12 +20,12 @@ - {{ post.title }} + {{ post.title }} -
+