diff --git a/src/datadoc/app.py b/src/datadoc/app.py index 8f819b8f..dbf5701b 100644 --- a/src/datadoc/app.py +++ b/src/datadoc/app.py @@ -74,12 +74,7 @@ def build_app(app: type[Dash]) -> Dash: ], className="main-content-app", ), - html.Footer( - [ - build_footer_control_bar(), - ], - className="language-footer", - ), + build_footer_control_bar(), ], className="app-wrapper", ) diff --git a/src/datadoc/frontend/components/control_bars.py b/src/datadoc/frontend/components/control_bars.py index 2e31edca..bc8d73f2 100644 --- a/src/datadoc/frontend/components/control_bars.py +++ b/src/datadoc/frontend/components/control_bars.py @@ -2,7 +2,6 @@ from __future__ import annotations -import dash_bootstrap_components as dbc import ssb_dash_components as ssb from dash import html @@ -32,18 +31,16 @@ ) -def build_footer_control_bar() -> dbc.Row: +def build_footer_control_bar() -> html.Aside: """Build footer control bar which resides below all the content.""" - return dbc.CardBody( - dbc.Row( - [ - dbc.Col( - html.P(f"v{get_app_version()}", className="small"), - align="end", - ), - ], - justify="between", - ), + return html.Aside( + children=[ + html.P( + f"v{get_app_version()}", + className="small", + ), + ], + className="language-footer", )