bug: Nested sidebar collapse toggle position on mobile
Open
@gadenbuie is already working on this.
Since Jan 17, 2024.
- Dominant language
- SCSS
- Stars
- 569
- Forks
- 72
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
In the following app, the second and third nested sidebar toggle buttons have a little too much inline padding on mobile screens:
library(shiny)
library(bslib)
ui <- page_sidebar(
sidebar = sidebar("Sidebar 1", bg = "#f8f8f8"),
layout_sidebar(
sidebar = sidebar("Sidebar 2", bg = "#f8f8f8"),
class = "p-0",
layout_sidebar(
sidebar = sidebar("Sidebar 2", bg = "#f8f8f8"),
"Main content"
)
),
padding = 0
)
server <- function(input, output, session) {
# Server logic goes here
}
shinyApp(ui, server)
| Desktop | Mobile |
|---|---|
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.