sidebar working as expected
modalbox working as expected
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import sys
|
||||
sys.path.append('/workspace')
|
||||
|
||||
from dash import Dash, html, dcc, page_container
|
||||
from dash import Dash, html, dcc, page_container, Output, Input, State, callback
|
||||
from flask import Flask
|
||||
import dash_bootstrap_components as dbc
|
||||
import dash_mantine_components as dmc
|
||||
@@ -29,11 +29,13 @@ app = Dash(
|
||||
app.layout = dmc.MantineProvider([
|
||||
Header(),
|
||||
html.Div([
|
||||
html.Div(id="sidebar", className="sidebar"),
|
||||
html.Div(id="sidebar"), # KEINE className="sidebar" hier!
|
||||
html.Div(page_container, className="page-content"),
|
||||
dcc.Store(id="sidebar-state", data={"collapsed": False}),
|
||||
], style={"display": "flex"}),
|
||||
])
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=8050, debug=(ENV=="development"))
|
||||
|
||||
Reference in New Issue
Block a user