Skip to content

Commit

Permalink
1078 padding added (#1083)
Browse files Browse the repository at this point in the history
Closes #1078 

Modified CSS to restore right padding in `body` when modal is not open.
Solution found
[here](https://stackoverflow.com/questions/32862394/bootstrap-modals-keep-adding-padding-right-to-body-after-closed).
  • Loading branch information
chlebowa authored Feb 2, 2024
1 parent 35e43be commit 414a49e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inst/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@ footer {
#shiny-modal:has(> .modal-dialog > .modal-content > #landingpopup) {
backdrop-filter: blur(10px);
}

body:not(.modal-open) {
padding-right: 0 !important;
overflow: auto !important;
}

0 comments on commit 414a49e

Please sign in to comment.