Limit content width
This commit is contained in:
parent
409ec5bd1d
commit
0f6e0e5741
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ def render_main() -> ui.tab_panels:
|
|||
tab_names = _tab_to_content.keys()
|
||||
with ui.tabs().classes('w-full') as tabs:
|
||||
tab_list = {name: ui.tab(name) for name in tab_names}
|
||||
with ui.tab_panels(tabs).classes('w-full h-screen no-wrap') as header:
|
||||
with ui.tab_panels(tabs).classes('w-full mx-auto h-screen').style('max-width: 1200px') as header:
|
||||
for name, t in tab_list.items():
|
||||
with ui.tab_panel(t):
|
||||
render_tab(name)
|
||||
|
|
Loading…
Reference in a new issue