Skip to content

Commit

Permalink
Revert "chore: update attachments position"
Browse files Browse the repository at this point in the history
This reverts commit 43f331f.
  • Loading branch information
bang9 committed Sep 11, 2024
1 parent 43f331f commit 6691e1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/components/chat/ui/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const container = css`
max-height: 100px;
height: 36px;
overflow-y: auto;
padding: 8px 0 8px 16px;
// border-radius: 20px;
padding: 8px 16px;
border-radius: 20px;
// Not to zoom in on mobile set font-size to 16px which blocks the zooming on iOS
// @link: https://weblog.west-wind.com/posts/2023/Apr/17/Preventing-iOS-Safari-Textbox-Zooming
font-size: ${isIOSMobile ? 16 : 14}px;
Expand All @@ -100,8 +100,10 @@ const container = css`
background-color: transparent;
}
.sendbird-message-input--attach {
border: none;
margin-block-end: 2px;
right: unset;
bottom: unset;
inset-inline-end: 12px;
inset-block-end: 2px;
& .sendbird-iconbutton__inner {
height: 16px;
}
Expand Down

0 comments on commit 6691e1e

Please sign in to comment.