From 1b87d196ec825af7691e08e7e42261e1dddaadd7 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Thu, 25 Jan 2024 19:33:01 +0100 Subject: [PATCH] Workaround community post slider dependency incorrectly calculating its size --- .../ft-community-post/ft-community-post.scss | 2 +- .../ft-community-post/ft-community-post.vue | 36 +++++++++---------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/renderer/components/ft-community-post/ft-community-post.scss b/src/renderer/components/ft-community-post/ft-community-post.scss index 64a618cfe9f4e..838cb658ba719 100644 --- a/src/renderer/components/ft-community-post/ft-community-post.scss +++ b/src/renderer/components/ft-community-post/ft-community-post.scss @@ -144,5 +144,5 @@ } .sliderContainer { - display: block; + display: grid; } diff --git a/src/renderer/components/ft-community-post/ft-community-post.vue b/src/renderer/components/ft-community-post/ft-community-post.vue index d5701b660fe24..053bd4c61a59d 100644 --- a/src/renderer/components/ft-community-post/ft-community-post.vue +++ b/src/renderer/components/ft-community-post/ft-community-post.vue @@ -56,27 +56,25 @@ class="postText" v-html="postText" /> -
- + - - - - -
+ +