diff --git a/web/src/components/AboutSiteDialog.tsx b/web/src/components/AboutSiteDialog.tsx index 436eae8b..aff70d12 100644 --- a/web/src/components/AboutSiteDialog.tsx +++ b/web/src/components/AboutSiteDialog.tsx @@ -3,7 +3,6 @@ import { useGlobalStore } from "../store/module"; import Icon from "./Icon"; import { generateDialog } from "./Dialog"; import GitHubBadge from "./GitHubBadge"; -import "../less/about-site-dialog.less"; type Props = DialogProps; @@ -27,7 +26,7 @@ const AboutSiteDialog: React.FC = ({ destroy }: Props) => { -
+

{customizedProfile.description || "No description"}

diff --git a/web/src/components/ChangeMemoCreatedTsDialog.tsx b/web/src/components/ChangeMemoCreatedTsDialog.tsx index e8d9fc3e..124f9f52 100644 --- a/web/src/components/ChangeMemoCreatedTsDialog.tsx +++ b/web/src/components/ChangeMemoCreatedTsDialog.tsx @@ -5,7 +5,6 @@ import { useMemoStore } from "../store/module"; import Icon from "./Icon"; import { generateDialog } from "./Dialog"; import toastHelper from "./Toast"; -import "../less/change-memo-created-ts-dialog.less"; interface Props extends DialogProps { memoId: MemoId; @@ -69,7 +68,7 @@ const ChangeMemoCreatedTsDialog: React.FC = (props: Props) => {
-
+

THIS IS NOT A NORMAL BEHAVIOR. PLEASE MAKE SURE YOU REALLY NEED IT.

@@ -80,7 +79,7 @@ const ChangeMemoCreatedTsDialog: React.FC = (props: Props) => { max={maxDatetimeValue} onChange={handleDatetimeInputChange} /> -
+
{t("common.cancel")} diff --git a/web/src/less/about-site-dialog.less b/web/src/less/about-site-dialog.less deleted file mode 100644 index efa36ecc..00000000 --- a/web/src/less/about-site-dialog.less +++ /dev/null @@ -1,13 +0,0 @@ -.about-site-dialog { - > .dialog-container { - @apply w-112 max-w-full; - - > .dialog-content-container { - @apply flex flex-col justify-start items-start; - - > p { - @apply my-1; - } - } - } -} diff --git a/web/src/less/change-memo-created-ts-dialog.less b/web/src/less/change-memo-created-ts-dialog.less deleted file mode 100644 index 162a543f..00000000 --- a/web/src/less/change-memo-created-ts-dialog.less +++ /dev/null @@ -1,17 +0,0 @@ -.change-memo-created-ts-dialog { - > .dialog-container { - @apply w-72; - - > .dialog-content-container { - @apply flex flex-col justify-start items-start; - - > .tip-text { - @apply bg-gray-400 text-xs p-2 rounded-lg; - } - - > .btns-container { - @apply flex flex-row justify-end items-center mt-2 w-full; - } - } - } -}