Browse Source

fix height of python windows

Falko Schindler 2 năm trước cách đây
mục cha
commit
9848d5d9aa
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      website/reference.py

+ 3 - 3
website/reference.py

@@ -1043,8 +1043,8 @@ Just take care your `ui.run` command does not use the `reload` argument.
 Running the `build.py` below will create an executable `myapp` in the `dist` folder:
 Running the `build.py` below will create an executable `myapp` in the `dist` folder:
 ''')
 ''')
 
 
-        with ui.row().classes('w-full'):
-            with python_window(classes='max-w-lg w-full h-64'):
+        with ui.row().classes('w-full items-stretch'):
+            with python_window(classes='max-w-lg w-full'):
                 ui.markdown('''```python
                 ui.markdown('''```python
 from nicegui import ui
 from nicegui import ui
 
 
@@ -1052,7 +1052,7 @@ ui.label('Hello from Pyinstaller')
 
 
 ui.run(reload=False)
 ui.run(reload=False)
 ```''')
 ```''')
-            with python_window('build.py', classes='max-w-lg w-full h-64'):
+            with python_window('build.py', classes='max-w-lg w-full'):
                 ui.markdown('''```python
                 ui.markdown('''```python
 import os
 import os
 import subprocess
 import subprocess