diff --git a/src/packages/@library/icons/ArrowUnfilled.svelte b/src/packages/@library/icons/ArrowUnfilled.svelte new file mode 100644 index 000000000..9107b2f60 --- /dev/null +++ b/src/packages/@library/icons/ArrowUnfilled.svelte @@ -0,0 +1,18 @@ + + + + + diff --git a/src/packages/@library/icons/index.ts b/src/packages/@library/icons/index.ts index 9af311c4b..c23cb992f 100644 --- a/src/packages/@library/icons/index.ts +++ b/src/packages/@library/icons/index.ts @@ -21,3 +21,4 @@ export { default as CrossIcon } from "./Cross.svelte"; export { default as AttachmentIcon } from "./Attachment.svelte"; export { default as UploadIcon } from "./Upload.svelte"; export { default as InfoIcon } from "./Info.svelte"; +export { default as ArrowUnfilledIcon} from "./ArrowUnfilled.svelte"; diff --git a/src/packages/@support/features/feedback-toast/layout/FeedbackToast.svelte b/src/packages/@support/features/feedback-toast/layout/FeedbackToast.svelte index b63152276..4392c54b8 100644 --- a/src/packages/@support/features/feedback-toast/layout/FeedbackToast.svelte +++ b/src/packages/@support/features/feedback-toast/layout/FeedbackToast.svelte @@ -2,6 +2,7 @@ import Ellipse from "@library/icons/Ellipse.svelte"; import LogoSymbol from "@library/icons/LogoSymbol.svelte"; import { Tooltip } from "@library/ui/tooltip"; + import { ArrowUnfilledIcon } from "@library/icons"; let activeTab = "feedback"; @@ -11,6 +12,7 @@ activeTab = tab; } } + let isReadMore = false;
-
setActiveTab("faq")} > @@ -60,7 +63,7 @@
{#if activeTab === "feedback"} -
+

-
-

Key Features

+

{ + isReadMore = !isReadMore; + }} > - Switchable Channel:Easily navigate between different feedback and support channels.{!isReadMore ? "More" : "Less"} -

-

- Rich media sharing: - Share screenshots , videos and other files to provide - comprehensive feedback.

-

- Tagging: + {#if isReadMore} +

+

Key Features

+

+ Switchable Channel:Easily navigate between different feedback and support + channels. +

+

+ Rich media sharing: + Share screenshots , videos and other files to provide + comprehensive feedback. +

+

+ Tagging: + Tag your feedback for easy categorization and searchability. +

+

Tag your feedback for easy categorization and searchability. -

-

- Join our community and start contributing to Sparrow. -

-
+ Join our community and start contributing to Sparrow. +

+
+ {/if}
{/if}
@@ -146,7 +175,6 @@ } .tab { - width: 260px; display: flex; padding: 10px 20px; @@ -167,7 +195,7 @@ bottom: -2px; width: 100%; height: 2px; - border-bottom: 4px solid var(--text-primary-300 ); + border-bottom: 4px solid var(--text-primary-300); } .feedback { @@ -175,13 +203,13 @@ } .feedback-section, .faq-section { - background:rgba(54, 112, 247, 0.2); - + background: rgba(54, 112, 247, 0.2); + border: 1px solid; padding: 15px; margin-top: 10px; border-radius: 4px; - border-color: var( --bg-primary-600); + border-color: var(--bg-primary-600); display: none; }