Skip to content

Commit

Permalink
Add .modal--center modifier
Browse files Browse the repository at this point in the history
This can potentially be used for other purposes as well, but for now, I have used it to center the `Player` inside the `PlayerModal` in dpl-react.
  • Loading branch information
kasperbirch1 committed Dec 3, 2024
1 parent 5fda290 commit 5051d89
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/stories/Library/Modals/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
padding: 0;
}

.modal--center {
justify-content: center;
align-items: center;
}

.modal-btn-close {
background-color: $color__global-primary;
position: fixed;
Expand Down

0 comments on commit 5051d89

Please sign in to comment.