Skip to content

Commit

Permalink
fix: correct modal rendering on Webkit (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Mar 24, 2023
1 parent 60b0eed commit 46ed4de
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@
"@lukeed/uuid": "^2.0.0",
"@popperjs/core": "^2.11.6",
"@tanstack/react-query": "^4.28.0",
"@tanstack/react-table": "^8.7.9",
"@tanstack/react-table": "^8.8.0",
"biologic-converter": "^0.6.0",
"cheminfo-types": "^1.4.0",
"d3-scale-chromatic": "^3.0.0",
"filelist-utils": "^1.8.0",
"immer": "^9.0.19",
"immer": "^9.0.21",
"jcampconverter": "^9.1.0",
"lodash": "^4.17.21",
"ml-gsd": "^12.1.2",
Expand Down
2 changes: 0 additions & 2 deletions src/components/modal/ConfirmModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ interface ConfirmModalProps {
}

const ConfirmModalDialog = styled.dialog`
position: fixed;
background-color: transparent;
::backdrop {
Expand All @@ -36,7 +35,6 @@ const ConfirmModalContents = styled.div<{
display: flex;
flex-direction: column;
background-color: white;
max-height: 90%;
width: 100%;
border-width: 1px;
border-color: transparent;
Expand Down
2 changes: 0 additions & 2 deletions src/components/modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export interface ModalProps {
}

const DialogRoot = styled.dialog`
position: fixed;
background-color: transparent;
::backdrop {
Expand All @@ -32,7 +31,6 @@ const DialogContents = styled.div`
display: flex;
flex-direction: column;
background-color: white;
max-height: 90%;
border-width: 1px;
border-color: transparent;
border-radius: 0.5rem;
Expand Down

0 comments on commit 46ed4de

Please sign in to comment.