Skip to content

Commit

Permalink
Workaround for shinylive shinyswatch bug
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettgman committed Aug 12, 2024
1 parent bf8a7ca commit 07e5b36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/apps/334-target-app/problem/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
theme = app_theme
)

with ui.sidebar():
with ui.sidebar(class_="bg-primary-subtle"):
ui.input_select(
"account",
"Account",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

ui.page_opts(
title="Model scoring dashboard",
theme = app_theme
# theme = app_theme
)

with ui.sidebar(class_="bg-primary-subtle"):
Expand Down
2 changes: 1 addition & 1 deletion docs/exercises/express-310-element-themes/problem/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

ui.page_opts(
title="Model scoring dashboard",
theme = app_theme
# theme = app_theme
)

with ui.sidebar():
Expand Down
4 changes: 2 additions & 2 deletions docs/ui-themes-slides.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Assign styles to:

## Adding CSS to a Shiny app

{{< yourview '315-css' >}}
{{< yourview '335-css' >}}

## To link an external style sheet

Expand Down Expand Up @@ -229,7 +229,7 @@ ui.card_header(
)
```

# Bootstrap classes
## Bootstrap classes

::: {.callout-tip}
Bootstrap provides many predefined CSS classes. These are collections or coordinated style rules, ready to use pass to an element's `class_` parameter.
Expand Down

0 comments on commit 07e5b36

Please sign in to comment.