From 5cfd796cc72d9fffb1a8b1d6e6230bcf9dfccb81 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Sun, 1 Jun 2025 23:32:23 +0330 Subject: [PATCH] Update collapse style --- .../ProductHero/ProductDescription.vue | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/frontend/components/product/ProductHero/ProductDescription.vue b/frontend/components/product/ProductHero/ProductDescription.vue index babbba1..2689ba7 100644 --- a/frontend/components/product/ProductHero/ProductDescription.vue +++ b/frontend/components/product/ProductHero/ProductDescription.vue @@ -15,6 +15,8 @@ const descriptionEl = ref(null); const descriptionElScrollHeight = ref(0); const isDescriptionCollapsed = ref(true); +const descriptionMaxHeight = 200; + // watch watch( @@ -30,29 +32,36 @@ watch(