logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 4c7edfc9a9865003483bc4b78d29bb554e7901ad
parent d361a4d7dc18bd7c722ed76a894ebee8e5a50ed5
Author: Henry Jameson <me@hjkos.com>
Date:   Wed,  9 Feb 2022 23:34:06 +0200

more spacing/wrapping fixes

Diffstat:

Msrc/components/mention_link/mention_link.scss1+
Msrc/components/mention_link/mention_link.vue8+++-----
Msrc/components/mentions_line/mentions_line.scss1+
Msrc/components/status_body/status_body.scss2+-
4 files changed, 6 insertions(+), 6 deletions(-)

diff --git 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 @@ -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]" diff --git a/src/components/mentions_line/mentions_line.scss b/src/components/mentions_line/mentions_line.scss @@ -2,6 +2,7 @@ word-break: break-all; .showMoreLess { + margin-left: 0.5em; white-space: normal; color: var(--link); } diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss @@ -9,7 +9,7 @@ & .text, & .summary { font-family: var(--postFont, sans-serif); - white-space: normal; + white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word;