Skip to content

Commit

Permalink
Make navbar collapsible
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Dec 29, 2023
1 parent a1dac8a commit 7ee9ecd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions inst/isopleuros/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ shiny_ui <- function(request) {
fluidPage(
includeCSS(system.file("static", "style.css", package = "janus")),
theme = bslib::bs_theme(),
collapsible = TRUE,
lang = "en",
navbarPage(
"isopleuros",
Expand Down Expand Up @@ -35,7 +34,8 @@ shiny_ui <- function(request) {
janus::module_ternary_ui("ternary")
), # tabPanel
header = janus::module_header_ui("header"),
footer = janus::module_footer_ui("footer")
footer = janus::module_footer_ui("footer"),
collapsible = TRUE
)
)
}
4 changes: 2 additions & 2 deletions inst/kairos/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ shiny_ui <- function(request) {
fluidPage(
includeCSS(system.file("static", "style.css", package = "janus")),
theme = bslib::bs_theme(),
collapsible = TRUE,
lang = "en",
navbarPage(
"kairos",
Expand Down Expand Up @@ -50,7 +49,8 @@ shiny_ui <- function(request) {
janus::module_seriate_ui("seriate")
), # tabPanel
header = janus::module_header_ui("header"),
footer = janus::module_footer_ui("footer")
footer = janus::module_footer_ui("footer"),
collapsible = TRUE
)
)
}
4 changes: 2 additions & 2 deletions inst/nexus/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ shiny_ui <- function(request) {
fluidPage(
includeCSS(system.file("static", "style.css", package = "janus")),
theme = bslib::bs_theme(),
collapsible = TRUE,
lang = "en",
navbarPage(
"nexus",
Expand Down Expand Up @@ -64,7 +63,8 @@ shiny_ui <- function(request) {
) # tabPanel
), # navbarMenu
header = janus::module_header_ui("header"),
footer = janus::module_footer_ui("footer")
footer = janus::module_footer_ui("footer"),
collapsible = TRUE
)
)
}

0 comments on commit 7ee9ecd

Please sign in to comment.