Skip to content

Commit

Permalink
Add .modal-fullscreen for Reader
Browse files Browse the repository at this point in the history
This is required in the following pull request:
danskernesdigitalebibliotek/dpl-react#1555
  • Loading branch information
kasperbirch1 committed Nov 20, 2024
1 parent ece5d6b commit 614d5c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/stories/Library/Modals/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,15 @@
display: none;
}
}

.modal-fullscreen {
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: $z-20;
overflow: auto;
}

0 comments on commit 614d5c3

Please sign in to comment.