Skip to content

Commit

Permalink
modal fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Farmaha committed Jan 23, 2024
1 parent 4fc2ba5 commit 385072c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Loaders/Loaders-styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const LoaderWWrap = styled.div`
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-black-color);
color: currentColor;
`;

export const LoaderSvg = styled.svg`
Expand Down
5 changes: 4 additions & 1 deletion src/components/Modal/Modal-styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@ export const ModalOverlayMIU = styled(Modal)`
justify-content: center;
backdrop-filter: blur(10px);
position: fixed;
`;

export const ModalWrapMIU = styled(Box)`
background-color: var(--primary-white-color);
background-color: transparent;
color: var(--primary-white-color);
overflow: hidden;
box-shadow: var(--box-shadow);
Expand Down
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ body {

&.modal-open {
overflow: hidden;
position: fixed;
}


Expand Down

0 comments on commit 385072c

Please sign in to comment.