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

Bootswatch Sketchy theme: Checkboxes and Radio buttons placement looks off #192

Closed MadhulikaTanuboddi closed 3 years ago

MadhulikaTanuboddi commented 3 years ago
  1. Navigate to https://testing-apps.shinyapps.io/shinyapps-themer-demo-Dec-16/
  2. Go to wellpanel section
  3. From the themer box, select "Sketchy" theme
  4. Notice the Check boxes and Radio buttons
themer-demo-well_panel_sketchy-theme_checkboxes_radio_buttons

Note: This issue is seen on all the platforms

cpsievert commented 3 years ago

Thanks! Here's a more minimal repex:

library(shiny)

ui <- fluidPage(
  theme = bs_theme(bootswatch = "sketchy"),
  checkboxGroupInput("x", "Choices", c("a", "b")),
  radioButtons("y", "Choices", c("c", "d"))
)

server <- function(input, output, session) {
  observe({
    print(input$x)
    print(input$y)
  })
}

shinyApp(ui, server)
MadhulikaTanuboddi commented 3 years ago

@cpsievert : I noticed on Windows - Edge browser, checkboxes and radio buttons are not shown. This could be due to the Edge browser version I am using with parallels VM.

Edge_sketchy_theme_checkboxes_radio_buttons
cpsievert commented 3 years ago

Appears this isn't an issue with modern versions of Edge, so let's not worry about it

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. :raising_hand: Need help? Connect with us on Discord or Posit Community.