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;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
overflow: hidden;
|
||||||
`
|
`
|
||||||
|
|
||||||
export default HomePage
|
export default HomePage
|
||||||
|
|||||||
@ -24,7 +24,7 @@ const MessageAttachments: FC<Props> = ({ message }) => {
|
|||||||
return (
|
return (
|
||||||
<Container style={{ marginTop: 2, marginBottom: 8 }}>
|
<Container style={{ marginTop: 2, marginBottom: 8 }}>
|
||||||
<Upload
|
<Upload
|
||||||
listType="picture"
|
listType="text"
|
||||||
disabled
|
disabled
|
||||||
fileList={message.files?.map((file) => ({
|
fileList={message.files?.map((file) => ({
|
||||||
uid: file.id,
|
uid: file.id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user