aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-06-08 19:37:18 +0300
committerHenry Jameson <me@hjkos.com>2021-06-08 19:37:18 +0300
commit566964992a394f1d0462557f70e284f2493d82bf (patch)
tree7c02f9f8b0ceada2eaecc54cc34e2b8e270a0e0d
parent5c655b6675718e1617a2bf94c4ec75167f0a0e23 (diff)
fix long posts having weird gradient
-rw-r--r--src/components/status_body/status_body.scss2
-rw-r--r--src/components/status_body/status_body.vue1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/status_body/status_body.scss b/src/components/status_body/status_body.scss
index b65e3b27..10b4c186 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 {
+ .text-wrapper {
min-height: 0;
mask:
linear-gradient(to top, white, transparent) bottom/100% 70px no-repeat,
diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue
index 421a3820..fae2d594 100644
--- a/src/components/status_body/status_body.vue
+++ b/src/components/status_body/status_body.vue
@@ -40,6 +40,7 @@
{{ $t("general.show_more") }}
</button>
<span
+ class="text-wrapper"
v-if="!hideSubjectStatus && !(singleLine && status.summary_html)"
>
<MentionsLine