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:
parent
4d198ff5f1
commit
c68d283766
@ -53,6 +53,7 @@ const ContentContainer = styled.div`
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
`
|
||||
|
||||
export default HomePage
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user