Skip to content

Commit ac409cb

Browse files
authored
Merge pull request #424 from facultyai/fix-example-callbacks
Fix example callbacks
2 parents eebe6ef + b48639e commit ac409cb

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

docs/examples/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def build_app_from_example(app, name, code, code_link, show_warning=False):
7979
new_app.title = f"{name.capitalize().replace('-', ' ')} - dbc examples"
8080
new_app.layout = app.layout
8181
new_app.callback_map = app.callback_map
82+
new_app._callback_list = app._callback_list
8283
return new_app
8384

8485

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dash==1.10.0
1+
dash==1.14.0
22
dash_bootstrap_components==0.10.3
33
gunicorn
44
markdown

docs/templates/macros/example-navbar.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{% macro example_navbar() -%}
22
<nav class="navbar sticky-top navbar-expand navbar-dark bg-dark">
3-
<img
4-
src="/static/images/icon128x128.png"
5-
width="36"
6-
height="36"
7-
alt="dbc logo thumbnail"
8-
class="mr-2"
9-
/>
3+
<span class="mr-2 bg-white" style="padding:2px;border-radius:4px">
4+
<img
5+
src="/static/images/dbciconblack128.png"
6+
width="36"
7+
height="36"
8+
alt="dbc logo thumbnail"
9+
/>
10+
</span>
1011
<ul class="navbar-nav mr-auto">
1112
<li class="nav-item">
1213
<a class="nav-link" href="/examples">Back to examples</a>

0 commit comments

Comments
 (0)