feat: improved layout and accessibility

- Added hidden overflow to HomePage content container for improved layout.
- Changed the upload list type to text to improve accessibility.
This commit is contained in:
kangfenmao 2024-09-23 23:07:29 +08:00
parent 4d198ff5f1
commit c68d283766
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ const ContentContainer = styled.div`
display: flex;
flex: 1;
flex-direction: row;
overflow: hidden;
`
export default HomePage

View File

@ -24,7 +24,7 @@ const MessageAttachments: FC<Props> = ({ message }) => {
return (
<Container style={{ marginTop: 2, marginBottom: 8 }}>
<Upload
listType="picture"
listType="text"
disabled
fileList={message.files?.map((file) => ({
uid: file.id,