feat: enhanced user experience with layout adjustments.

- This commit addresses key feature enhancements and minor optimizations for improved user experience and functionality.
- Adjusted margin top for upload container to a positive value.
- Adjusted the max-height of the container to improve rendering on smaller screens.
This commit is contained in:
kangfenmao
2024-09-19 12:04:06 +08:00
parent af8144d45e
commit bfa6bfa196
3 changed files with 6 additions and 9 deletions
@@ -18,7 +18,7 @@ const MessageAttachments: FC<Props> = ({ message }) => {
}
return (
<Container style={{ marginTop: -5 }}>
<Container style={{ marginTop: 2 }}>
<Upload
listType="picture"
disabled
+1 -1
View File
@@ -154,7 +154,7 @@ const Container = styled.div`
flex-direction: column;
padding-top: 10px;
overflow-y: scroll;
max-height: calc(100vh - var(--navbar-height) - 140px);
max-height: calc(100vh - var(--navbar-height) - 50px);
`
const TopicListItem = styled.div`