Skip to content

Commit

Permalink
Add padding to modal
Browse files Browse the repository at this point in the history
  • Loading branch information
abirc8010 committed Dec 25, 2024
1 parent b4a3514 commit 895f6c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/react/src/views/ChatBody/ChatBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,11 @@ const ChatBody = ({
</Modal.Header>
<Modal.Content
css={css`
height: 200px;
height: 300px;
word-wrap: break-word;
overflow-wrap: anywhere;
white-space: normal;
padding: 20px;
`}
>
{channelInfo.announcement}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/views/ChatBody/ChatBody.styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const getChatbodyStyles = (theme, mode) => {
announcementStyles: css`
display: flex;
justify-content: center;
padding: 10px;
padding: 7px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down

0 comments on commit 895f6c6

Please sign in to comment.