diff --git a/DESCRIPTION b/DESCRIPTION index dbb9a19b..8d397d9c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -65,4 +65,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 diff --git a/R/Previewer.R b/R/Previewer.R index ab3b4e33..360f0e7d 100644 --- a/R/Previewer.R +++ b/R/Previewer.R @@ -148,7 +148,7 @@ reporter_previewer_srv <- function(id, shiny::tags$div( id = "previewer_reporter_buttons", class = "previewer_buttons_line", - previewer_buttons_list[previewer_buttons] + lapply(previewer_buttons_list[previewer_buttons], shiny::tags$div) ) ) }) diff --git a/inst/css/Previewer.css b/inst/css/Previewer.css index c5df266a..e66e1747 100644 --- a/inst/css/Previewer.css +++ b/inst/css/Previewer.css @@ -1,13 +1,13 @@ /* teal.reporter Previewer css */ /* highlight the icon when hover */ -span.preview_card_control i:hover { +span.preview_card_control i:hover { color: blue; } .previewer_buttons_line { display: flex; - justify-content: end; + flex-wrap: wrap; margin-right: 10px; } @@ -19,8 +19,8 @@ a.disabled { text-decoration: none; } -a[id$=download_data].disabled, -a[id$=download_data_prev].disabled { +a[id$="download_data"].disabled, +a[id$="download_data_prev"].disabled { border: 0; color: white; background-color: darkgrey; @@ -28,11 +28,11 @@ a[id$=download_data_prev].disabled { /* icons in the previewer */ .icon_previewer { - float:right; - margin-left:10px; - margin-right:10px; - margin-top:10px; - color:#337ab7; + float: right; + margin-left: 10px; + margin-right: 10px; + margin-top: 10px; + color: #337ab7; } /* prevents oversizing elements covered by shinybusy::block */