Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: omission of long filename (#1170)
Zeng19984284fd046909
diff --git a/web/src/components/CreateResourceDialog.tsx b/web/src/components/CreateResourceDialog.tsxindex e3aba1277..d273e886a 100644--- a/web/src/components/CreateResourceDialog.tsx+++ b/web/src/components/CreateResourceDialog.tsx@@ -1,4 +1,4 @@-import { Button, Input, Select, Option, Typography, List, ListItem, Autocomplete } from "@mui/joy";+import { Button, Input, Select, Option, Typography, List, ListItem, Autocomplete, Tooltip } from "@mui/joy";import React, { useRef, useState } from "react";import { useResourceStore } from "../store/module";import Icon from "./Icon";@@ -179,9 +179,13 @@ const CreateResourceDialog: React.FC<Props> = (props: Props) => {accept="*"/></div>- <List size="sm">+ <List size="sm" sx={{ width: "100%" }}>{fileList.map((file) => (- <ListItem key={file.name}>{file.name}</ListItem>+ <Tooltip title={file.name} key={file.name} placement="top">+ <ListItem>+ <Typography noWrap>{file.name}</Typography>+ </ListItem>+ </Tooltip>))}</List></>