Skip to content

Commit

Permalink
fix(components): unfreeze top section for new update
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Dec 3, 2024
1 parent d3b3942 commit 7e2e23b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/info-message/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const InfoMessage = (props: InfoMessagePropsType) => {
{props.messageIcon}
<Box
sx={{
minWidth: '280px',
width: '100%',
display: 'flex',
alignItems:
Expand Down Expand Up @@ -104,7 +105,7 @@ const InfoMessage = (props: InfoMessagePropsType) => {
variant="semi-white"
onClick={props.actionClick}
startIcon={props.actionIcon}
sx={{ minHeight: '44px' }}
sx={{ minHeight: '44px', marginLeft: '24px' }}
disableAutoStretch
>
{props.actionText}
Expand Down
4 changes: 3 additions & 1 deletion src/components/snackbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ const Snackbar = (props: SnackbarPropsType) => {
padding: 0,
top: position === 'top-center' ? '80px' : 'unset',
bottom: position === 'bottom-center' ? '24px' : 'unset',
left: '50%',
right: 'auto',
transform: 'translateX(-50%)',
'.MuiSnackbarContent-message': {
width: '100%',
display: 'flex',
justifyContent: 'center',
padding: 0,
Expand Down

0 comments on commit 7e2e23b

Please sign in to comment.