From b0ab4e8d1235abbb4633ddd055c8de00f9808fb1 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 26 May 2025 18:54:03 +0100 Subject: [PATCH] Update progress marking UI --- .../RoadmapAIChat/RoadmapTopicList.tsx | 2 +- .../RoadmapAIChat/UserProgressActionList.tsx | 23 +++++++++++++++---- src/styles/global.css | 6 +++++ 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/components/RoadmapAIChat/RoadmapTopicList.tsx b/src/components/RoadmapAIChat/RoadmapTopicList.tsx index bec395fd9..8029673a6 100644 --- a/src/components/RoadmapAIChat/RoadmapTopicList.tsx +++ b/src/components/RoadmapAIChat/RoadmapTopicList.tsx @@ -69,7 +69,7 @@ export function RoadmapTopicList(props: RoadmapTopicListProps) { {progressItemWithText.map((item) => ( )} {isStreaming && ( diff --git a/src/styles/global.css b/src/styles/global.css index 73079c6e6..14fee8605 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -58,6 +58,12 @@ scrollbar-width: none; /* Firefox */ } +@utility collapse-if-empty { + &:empty { + display: none; + } +} + svg { user-select: none; }