Skip to content

Commit

Permalink
add blur to landingpopup
Browse files Browse the repository at this point in the history
  • Loading branch information
m7pr committed Oct 16, 2023
1 parent 4825607 commit 31296eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/tm_landing_popup.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ landing_popup <- function(title = NULL, content = NULL, buttons = modalButton("A

showModal(
modalDialog(
id = "landingpopup",
title = title,
content,
footer = buttons
Expand Down
4 changes: 4 additions & 0 deletions inst/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@
height:600px;
width:100%
}

#shiny-modal:has(> .modal-dialog > .modal-content > #landingpopup) {
backdrop-filter: blur(10px);
}

0 comments on commit 31296eb

Please sign in to comment.