logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 647e4476f90be087dda099c588f2f8acc089c1ee
parent c1bd36dc6f5700eb13c4b86fcd353a07a7c2fc08
Author: Henry Jameson <me@hjkos.com>
Date:   Sat, 12 Jun 2021 16:25:37 +0300

fix long post fader

Diffstat:

Msrc/components/status_body/status_body.scss3+--
Msrc/components/status_body/status_body.vue5++++-
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss @@ -62,7 +62,7 @@ overflow-y: hidden; z-index: 1; - .text-wrapper { + .rich-content-wrapper { min-height: 0; mask: linear-gradient(to top, white, transparent) bottom/100% 70px no-repeat, @@ -123,5 +123,4 @@ vertical-align: middle; object-fit: contain; } - } diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue @@ -38,7 +38,10 @@ > {{ $t("general.show_more") }} </button> - <span v-if="!hideSubjectStatus && !(singleLine && status.summary_html)"> + <span + v-if="!hideSubjectStatus && !(singleLine && status.summary_html)" + class="rich-content-wrapper" + > <MentionsLine v-if="!hideMentions && firstMentions && firstMentions.length > 0" :mentions="firstMentions"