Selaa lähdekoodia

remove left drawer on overview page

Falko Schindler 1 vuosi sitten
vanhempi
säilyke
489a6117e4
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      main.py

+ 1 - 2
main.py

@@ -404,8 +404,7 @@ async def index_page(client: Client) -> None:
 @ui.page('/documentation')
 def documentation_page() -> None:
     add_head_html()
-    menu = side_menu()
-    add_header(menu)
+    add_header()
     ui.add_head_html('<style>html {scroll-behavior: auto;}</style>')
     with ui.column().classes('w-full p-8 lg:p-16 max-w-[1250px] mx-auto'):
         section_heading('Reference, Demos and more', '*NiceGUI* Documentation')