From 0c8f2ef1e7a4368223ceec1b86b433fc6d3aa3cf Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Fri, 13 Aug 2021 19:50:01 +0200 Subject: [PATCH] Use `break-word` instead of `break-all` This will prevent words being broken mid-word --- app/assets/stylesheets/components/_answerbox.scss | 4 ++-- app/assets/stylesheets/components/_comments.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/components/_answerbox.scss b/app/assets/stylesheets/components/_answerbox.scss index 9b80bdb9..6ef19d72 100644 --- a/app/assets/stylesheets/components/_answerbox.scss +++ b/app/assets/stylesheets/components/_answerbox.scss @@ -5,7 +5,7 @@ &__answer-date { margin-bottom: 0; overflow: hidden; - word-break: break-all; + word-break: break-word; } &__answer-date { @@ -83,4 +83,4 @@ body:not(.cap-web-share) { .answerbox__action[name="ab-share"] { display: none; } -} \ No newline at end of file +} diff --git a/app/assets/stylesheets/components/_comments.scss b/app/assets/stylesheets/components/_comments.scss index 67f32102..092a4989 100644 --- a/app/assets/stylesheets/components/_comments.scss +++ b/app/assets/stylesheets/components/_comments.scss @@ -9,7 +9,7 @@ &__user, &__content { margin-bottom: 0; - word-break: break-all; + word-break: break-word; } &__user-avatar {