Skip to content

Commit

Permalink
update: styling of the save button
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbhayel committed Dec 3, 2024
1 parent a8fa774 commit b35e767
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions modules/settings/assets/js/layouts/menu-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ const MenuSettings = () => {
{__('At least two option must remain active', 'pojo-accessibility')}
</Alert>
)}
<CardContent sx={{ height: '50vh', overflow: 'auto' }}>
<CardContent
sx={{ height: '50vh', overflow: 'auto', marginBottom: '100px' }}
>
<List>
{Object.entries(MENU_SETTINGS).map(([parentKey, parentItem]) => {
return (
Expand Down Expand Up @@ -150,7 +152,14 @@ const MenuSettings = () => {
})}
</List>
</CardContent>
<CardActions>
<CardActions
sx={{
position: 'absolute',
bottom: 0,
width: '100%',
background: 'white',
}}
>
<BottomBar />
</CardActions>
</Card>
Expand Down

0 comments on commit b35e767

Please sign in to comment.