Ver Fonte

fix height of python windows

Falko Schindler há 2 anos atrás
pai
commit
9848d5d9aa
1 ficheiros alterados com 3 adições e 3 exclusões
  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:
 ''')
 
-        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
 from nicegui import ui
 
@@ -1052,7 +1052,7 @@ ui.label('Hello from Pyinstaller')
 
 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
 import os
 import subprocess