Skip to content

Commit

Permalink
Merge pull request #123 from shreyas1434shinde/BugFixes
Browse files Browse the repository at this point in the history
#PS-1317 fix PS-1527 UI Improvement
  • Loading branch information
itsvick authored Aug 10, 2024
2 parents 60e30c2 + 034a5ff commit 8ea1041
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/BottomDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const BottomDrawer: React.FC<BottomDrawerProps> = ({

return (
<div>
<Drawer anchor="bottom" open={state.bottom} className="modal-bottom">
<Drawer anchor="bottom" onClose={toggleDrawer('bottom', false, '')} open={state.bottom} className="modal-bottom">
{list('bottom')}
</Drawer>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/components/CenterSessionModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ const CenterSessionModal: React.FC<SessionsModalProps> = ({
bgcolor: theme?.palette?.warning['A400'],
boxShadow: 24,
borderRadius: '16px',
maxHeight: '626px',
minheight: '100%',
border: 'none',
'@media (min-width: 600px)': {
width: '450px',
Expand Down Expand Up @@ -103,7 +105,10 @@ const CenterSessionModal: React.FC<SessionsModalProps> = ({
/>
</Box>
<Divider />
{children}
<Box sx={{ maxHeight: '49vh', minHeight: '100%', overflowY: 'auto' }}>
{children}
</Box>

<Divider />

<Box
Expand Down
4 changes: 2 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -745,9 +745,9 @@ main {
background: var(--mui-palette-warning-900) !important;
}

.modal-bottom div:nth-child(1) {
/* .modal-bottom div:nth-child(1) {
position: unset !important;
}
} */

.selected-start-end {
background-color: var(--mui-palette-primary-main) !important;
Expand Down

0 comments on commit 8ea1041

Please sign in to comment.