瀏覽代碼

remove left drawer on overview page

Falko Schindler 1 年之前
父節點
當前提交
489a6117e4
共有 1 個文件被更改,包括 1 次插入2 次删除
  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')