From bd21022a34f0e599c6148b66a80d7781c019b722 Mon Sep 17 00:00:00 2001 From: Akirami <66513481+A-kirami@users.noreply.github.com> Date: Sun, 22 Dec 2024 08:00:41 +0800 Subject: [PATCH 1/2] fix: preview text showing overflow --- packages/webgal/src/UI/Menu/Options/NormalOption.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/webgal/src/UI/Menu/Options/NormalOption.tsx b/packages/webgal/src/UI/Menu/Options/NormalOption.tsx index 9954820bf..a945b9798 100644 --- a/packages/webgal/src/UI/Menu/Options/NormalOption.tsx +++ b/packages/webgal/src/UI/Menu/Options/NormalOption.tsx @@ -6,7 +6,10 @@ export const NormalOption = (props: any) => { {/*
{props.title}
*/} {/*
{props.title}
*/}
{props.title}
-
+
{props.children}
From a53a8691653c36302f67c7bf5023e5a978a9b365 Mon Sep 17 00:00:00 2001 From: Mahiru Date: Thu, 26 Dec 2024 19:41:48 +0800 Subject: [PATCH 2/2] only effect when option at full mode --- packages/webgal/src/UI/Menu/Options/NormalOption.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webgal/src/UI/Menu/Options/NormalOption.tsx b/packages/webgal/src/UI/Menu/Options/NormalOption.tsx index a945b9798..02cad9823 100644 --- a/packages/webgal/src/UI/Menu/Options/NormalOption.tsx +++ b/packages/webgal/src/UI/Menu/Options/NormalOption.tsx @@ -8,7 +8,7 @@ export const NormalOption = (props: any) => {
{props.title}
{props.children}