Open AshesITR opened 2 years ago
When using inline = TRUE with bs4Dash, the alignment of awesome{CheckboxGroup,Radio} is broken. This seems to be caused by incorrect CSS for Bootstrap 4 (or AdminLTE?). Note that the radio buttons are also off, if only by a few pixels.
inline = TRUE
library(shiny) library(bs4Dash) # / library(shinydashboard) library(shinyWidgets) shinyApp( dashboardPage(dashboardHeader(), dashboardSidebar(), dashboardBody( awesomeCheckboxGroup("cbg", "cbg", LETTERS[1:3], inline = TRUE), awesomeRadio("rb", "rb", letters[1:3], inline = TRUE) )), function(input, output, session) {} )
Created on 2021-12-06 by the reprex package (v2.0.1)
bs4Dash renders incorrectly:
shinydashboard looks fine:
Relevant package versions:
I have the same problem with awesomeRadio and the default dashboard (no shinydashboard or bs4Dash). I have that radio inside a sidebarpanel .
awesomeRadio
When using
inline = TRUE
with bs4Dash, the alignment of awesome{CheckboxGroup,Radio} is broken. This seems to be caused by incorrect CSS for Bootstrap 4 (or AdminLTE?). Note that the radio buttons are also off, if only by a few pixels.Created on 2021-12-06 by the reprex package (v2.0.1)
bs4Dash renders incorrectly:![image](https://user-images.githubusercontent.com/2363178/144857428-9dcf1264-e839-476b-b45f-0d281202a1b0.png)
shinydashboard looks fine:![image](https://user-images.githubusercontent.com/2363178/144857570-a01373f2-ae4c-4201-b839-5a94184c3781.png)
Relevant package versions: