rstudio / bslib

Tools for theming Shiny and R Markdown via Bootstrap 3, 4, or 5.
https://rstudio.github.io/bslib/
Other
486 stars 58 forks source link

selectInput in card is not well #502

Closed Liripo closed 1 year ago

Liripo commented 1 year ago
if(interactive()) {
  library(shiny)
  library(bslib)
  ui <- fluidPage(theme = bslib::bs_theme(version = 5),
    card(
      card_body(
      selectInput("test",label = NULL,choices = colnames(mtcars))
      )
    ),
    selectInput("test1",label = NULL,choices = colnames(mtcars))
  )
  server <- function(input,output) {

  }
  shinyApp(ui,server)
}

image

If the selectInput is just at the bottom of the card, the display effect is not very good. Is there a way to solve it?

Liripo commented 1 year ago

I solved by set css code style= "overflow:visible;", in card and card_body

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue.