1
0
Эх сурвалжийг харах

Merge branch 'main' of github.com:zauberzeug/nicegui into main

Falko Schindler 3 жил өмнө
parent
commit
d011d8fb15
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      main.py

+ 3 - 1
main.py

@@ -16,7 +16,7 @@ from nicegui.globals import page_stack
 page_stack[0].head_html += docutils.core.publish_parts('', writer_name='html')['stylesheet']
 
 # avoid display:block for PyPI/Docker/GitHub badges
-page_stack[0].head_html += '<style>p a img {display: inline}</style>'
+page_stack[0].head_html += '<style>p a img {display: inline; vertical-align: baseline}</style>'
 
 
 @contextmanager
@@ -109,6 +109,8 @@ with ui.row().classes('flex w-full'):
                 ui.label('Output:')
                 output = ui.label('').classes('text-bold')
 
+ui.markdown('## API Documentation and Examples')
+
 with example(ui.label):
     ui.label('some label')