Applies the same margin-bottom: 0 rules that are applied in .bslib-gap-spacing and .bslib-gap-spacing > .shiny-html-output contexts to .bslib-gap-spacing > .shiny-panel-conditional.
Todo
[x] Add a news entry, but maybe we should merge NEWS grooming for v0.7.0 into main first?
Before
After
Example Code
library(shiny)
# library(bslib)
pkgload::load_all()
ui <- page_fillable(
layout_columns(
card(
checkboxInput("checkbox", "Checkbox", TRUE),
input_switch("switch", "All good?", TRUE),
selectInput("select", "Select an option", LETTERS[1:3]),
p("Some text here.")
),
card(
checkboxInput("checkbox2", "Checkbox", TRUE),
conditionalPanel("input.checkbox2",
input_switch("switch2", "All good?", TRUE),
selectInput("select2", "Select an option", LETTERS[1:3])
),
p("Some text here.")
)
)
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
Fixes #1030
Applies the same
margin-bottom: 0
rules that are applied in.bslib-gap-spacing
and.bslib-gap-spacing > .shiny-html-output
contexts to.bslib-gap-spacing > .shiny-panel-conditional
.Todo
Before
After
Example Code