diff --git a/src/common/component/BlankPlaceholder.tsx b/src/common/component/BlankPlaceholder.tsx index 6b62e6ad..ebc8b583 100644 --- a/src/common/component/BlankPlaceholder.tsx +++ b/src/common/component/BlankPlaceholder.tsx @@ -14,9 +14,9 @@ interface Props { type?: "chat" | "user"; } const classes = { - box: "w-[150px] md:w-[200px] h-[150px] md:h-[200px] cursor-pointer bg-[#f9fafb] dark:bg-gray-800 rounded-3xl flex-center flex-col gap-4", - boxIcon: "w-10 h-10", - boxTip: "px-5 text-sm text-[#475467] dark:text-gray-100 font-bold text-center" + box: "w-[220px] md:w-[200px] h-[100px] md:h-[200px] cursor-pointer bg-[#f9fafb] dark:bg-gray-800 rounded-3xl flex-center flex-col gap-4", + boxIcon: "w-7 h-7 md:w-10 md:h-10", + boxTip: "px-5 text-xs md:text-sm text-[#475467] dark:text-gray-100 font-bold text-center" }; const BlankPlaceholder: FC = ({ type = "chat" }) => { const { t } = useTranslation("welcome"); @@ -40,7 +40,7 @@ const BlankPlaceholder: FC = ({ type = "chat" }) => { <>
-

{t("title", { name: server.name })}

+

{t("title", { name: server.name })}

{t("desc")}

diff --git a/src/common/component/FileMessage/VideoMessage.tsx b/src/common/component/FileMessage/VideoMessage.tsx index e1e07e49..9ddc6d94 100644 --- a/src/common/component/FileMessage/VideoMessage.tsx +++ b/src/common/component/FileMessage/VideoMessage.tsx @@ -37,7 +37,7 @@ const VideoMessage = ({ url, name, size, download }: Props) => { }; const tipClass = 'absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2'; return ( -
+
diff --git a/src/common/component/GithubLoginButton.tsx b/src/common/component/GithubLoginButton.tsx index 8039bfae..c78c71ee 100644 --- a/src/common/component/GithubLoginButton.tsx +++ b/src/common/component/GithubLoginButton.tsx @@ -45,7 +45,7 @@ const GithubLoginButton: FC = ({ type = "login", source = "webapp", clien }; return ( - diff --git a/src/common/component/SaveTip.tsx b/src/common/component/SaveTip.tsx index bf1ba17f..0bac7276 100644 --- a/src/common/component/SaveTip.tsx +++ b/src/common/component/SaveTip.tsx @@ -13,7 +13,7 @@ const SaveTip: FC = ({ saveHandler, resetHandler }) => { const { t } = useTranslation("setting"); // const btnClass=clsx("") return ( -
+
{t('save_tip')}
diff --git a/src/routes/login/MetamaskLoginButton.tsx b/src/routes/login/MetamaskLoginButton.tsx index 540903c9..3f7ae2c8 100644 --- a/src/routes/login/MetamaskLoginButton.tsx +++ b/src/routes/login/MetamaskLoginButton.tsx @@ -93,7 +93,7 @@ export default function MetamaskLoginButton({ } }; return ( - diff --git a/src/routes/login/OidcLoginButton.tsx b/src/routes/login/OidcLoginButton.tsx index 88156dd2..948b77dd 100644 --- a/src/routes/login/OidcLoginButton.tsx +++ b/src/routes/login/OidcLoginButton.tsx @@ -20,7 +20,7 @@ const OidcLoginButton: FC = ({ issuers, type = "login" }) => { return ( <> diff --git a/src/routes/login/index.tsx b/src/routes/login/index.tsx index 324f4c0e..97f4019d 100644 --- a/src/routes/login/index.tsx +++ b/src/routes/login/index.tsx @@ -127,11 +127,11 @@ export default function LoginPage() {
- logo -

{t("login.title")}

+ logo +

{t("login.title")}

{t("login.desc")}
-
+ { - return clsx(`cursor-pointer flex items-center gap-2 border border-solid border-gray-300 dark:border-gray-400 shadow rounded-lg py-2 px-3 text-xs text-gray-900 dark:text-gray-200`, selected && 'text-white bg-primary-400'); + return clsx(`cursor-pointer flex items-center gap-2 shadow rounded-lg py-2 px-3 text-xs text-gray-900 dark:text-gray-200`, selected ? 'text-white bg-primary-400' : 'border border-solid border-gray-300 dark:border-gray-400 '); }; export default function Filter({ filter, updateFilter }) { const { t } = useTranslation("file"); @@ -66,7 +66,7 @@ export default function Filter({ filter, updateFilter }) {