chore: add data empty placeholder (#1913)

This commit is contained in:
boojack
2023-07-08 13:04:12 +08:00
committed by GitHub
parent 7e391bd53d
commit 0292f472e0
30 changed files with 170 additions and 443 deletions

View File

@ -6,7 +6,7 @@ import * as api from "@/helpers/api";
import { generateDialog } from "./Dialog";
import Icon from "./Icon";
import RequiredBadge from "./RequiredBadge";
import HelpButton from "./kit/HelpButton";
import LearnMore from "./LearnMore";
interface Props extends DialogProps {
storage?: ObjectStorage;
@ -183,11 +183,9 @@ const CreateStorageServiceDialog: React.FC<Props> = (props: Props) => {
onChange={(e) => setPartialS3Config({ bucket: e.target.value })}
fullWidth
/>
<div className="flex flex-row">
<Typography className="!mb-1" level="body2">
{t("setting.storage-section.path")}
</Typography>
<HelpButton text={t("setting.storage-section.path-description")} url="https://usememos.com/docs/local-storage" />
<div className="flex flex-row items-center mb-1">
<Typography level="body2">{t("setting.storage-section.path")}</Typography>
<LearnMore className="ml-1" title={t("setting.storage-section.path-description")} url="https://usememos.com/docs/local-storage" />
</div>
<Input
className="mb-2"