aboutsummaryrefslogtreecommitdiff
path: root/src/components/mention_link
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/mention_link')
-rw-r--r--src/components/mention_link/mention_link.scss1
-rw-r--r--src/components/mention_link/mention_link.vue8
2 files changed, 4 insertions, 5 deletions
diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss
index c7db7fb9..a4326296 100644
--- a/src/components/mention_link/mention_link.scss
+++ b/src/components/mention_link/mention_link.scss
@@ -5,6 +5,7 @@
white-space: normal;
display: inline;
color: var(--link);
+ word-break: normal;
& .new,
& .original {
diff --git a/src/components/mention_link/mention_link.vue b/src/components/mention_link/mention_link.vue
index d8ab79fb..13786c3a 100644
--- a/src/components/mention_link/mention_link.vue
+++ b/src/components/mention_link/mention_link.vue
@@ -43,14 +43,12 @@
class="serverName"
:class="{ '-faded': shouldFadeDomain }"
v-html="'@' + serverName"
- /></span>
- <span
+ /></span><span
v-if="isYou && shouldShowYous"
:class="{ '-you': shouldBoldenYou }"
- >{{ $t('status.you') }}</span>
+ > {{ $t('status.you') }}</span>
<!-- eslint-enable vue/no-v-html -->
- </a>
- <span
+ </a><span
v-if="shouldShowTooltip"
class="full popover-default"
:class="[highlightType]"