Rodja Trappe 2 ani în urmă
părinte
comite
5e5c595990
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      api_docs_and_examples.py

+ 2 - 1
api_docs_and_examples.py

@@ -82,6 +82,7 @@ Creating a user interface with NiceGUI is as simple as writing a single line of
 '''
     with example(hello_world, first_col=2):
         ui.label('Hello, world!')
+        ui.markdown('Have a look at the full <br/> [API reference](reference)!  ')
 
     common_elements = '''#### Common UI Elements
 
@@ -102,7 +103,7 @@ Binding values between UI elements is built into NiceGUI.
 '''
     with example(binding, first_col=2):
         slider = ui.slider(min=0, max=100, value=50)
-        ui.number('Value').bind_value(slider, 'value')
+        ui.number('Value').bind_value(slider, 'value').classes('fit')
 
     # HACK: this comment prevents another blank line sneaking into the example above