Skip to content

Commit

Permalink
feat(appBar): update close btn variable name #closes1280
Browse files Browse the repository at this point in the history
  • Loading branch information
kaminderpal committed Feb 16, 2024
1 parent 35af5bb commit 431d372
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function CloseButton({ isLayersPanelVisible, onSetIsLayersPanelVisible, f
sx={{
...sxClasses.enlargeBtn,
marginLeft: '1rem',
...(fullWidth ? sxClasses.appBarEnlargeBtn : sxClasses.footerBarEnlargeButton),
...(fullWidth ? sxClasses.appBarEnlargeButton : sxClasses.footerBarEnlargeButton),
...(fullWidth && { display: !isLayersPanelVisible ? 'none' : 'block' }),
...(!fullWidth && {
[theme.breakpoints.up('md')]: { display: 'none' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getSxClasses = (theme: Theme) => ({
footerBarEnlargeButton: {
width: '7rem !important',
},
appBarEnlargeBtn: {
appBarEnlargeButton: {
width: '5rem !important',
padding: '8px !important',
},
Expand Down

0 comments on commit 431d372

Please sign in to comment.