Closed rafanmir closed 2 years ago
You can fix this by putting the sidebarPanel()
and mainPanel()
into a sidebarLayout()
(we've already looked at "automatic fix" for this in https://github.com/rstudio/bslib/pull/37, but I don't think we'll actually provide one)
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.
Hi,
I'm using shiny and when whenever I use bs_theme() (with or without a bootstrap theme) the main panel moves below the sidebar panel. I tried forcing them to stay in the same row using fluidRow and I noticed there seems to be a right margin for both panels (screenshot below). But then I set all margins to 0 (style = "margin: 0 0 0 0"). Is there any other setting I should change so I can have the main panel next to the sidebar panel?
I also tried changing the version, with version 3 they get side by side but in versions 4 and 5 I get the same problem.
Here's some code: