From e45aeced69c57f2c96e00da9e7e4e55a04c6aba6 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Wed, 7 Aug 2024 22:41:06 +0200 Subject: [PATCH] ui fix --- src/lib/components/PostSection.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/components/PostSection.svelte b/src/lib/components/PostSection.svelte index d61ad262..a3fffab6 100644 --- a/src/lib/components/PostSection.svelte +++ b/src/lib/components/PostSection.svelte @@ -299,7 +299,7 @@ $: { -
+
@@ -671,6 +671,8 @@ $: { position: relative; /* Ensure relative positioning for the gradient overlay */ overflow: hidden; /* To ensure the gradient does not overflow */ max-height: 330px; /* Limit the container's height */ + width: 100%; + padding: 14px; } .darken-overlay::after { @@ -680,7 +682,7 @@ $: { left: 0; right: 0; height: 50px; /* Adjust as needed for the gradient effect */ - background: linear-gradient(0deg, rgb(9, 9, 11, 1), rgb(9, 9, 11, 0)); /* Smooth gradient transition */ + background: linear-gradient(0deg, rgb(20, 20, 23, 1), rgb(20, 20, 23, 0)); /* Smooth gradient transition */ pointer-events: none; /* Ensure it doesn't interfere with text interaction */ } \ No newline at end of file