diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-12 16:25:37 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-12 16:25:37 +0300 |
| commit | 647e4476f90be087dda099c588f2f8acc089c1ee (patch) | |
| tree | 58caea6ee46b7e7b7bd938ba01ed27add93f7610 /src | |
| parent | c1bd36dc6f5700eb13c4b86fcd353a07a7c2fc08 (diff) | |
fix long post fader
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status_body/status_body.scss | 3 | ||||
| -rw-r--r-- | src/components/status_body/status_body.vue | 5 |
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 index 310185ae..da5d4dd3 100644 --- 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 index 7e699a45..b84541d7 100644 --- 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" |
