Parcourir la source

added css entry

Natan il y a 1 an
Parent
commit
78f0be1dd3

+ 4 - 0
nicegui/static/nicegui.css

@@ -68,6 +68,10 @@
   width: 100%;
   height: 16rem;
 }
+.nicegui-jsoneditor {
+  width: 100%;
+  height: 16rem;
+}
 .nicegui-scroll-area {
   width: 100%;
   height: 16rem;

+ 1 - 1
website/more_documentation/jsoneditor_documentation.py

@@ -14,4 +14,4 @@ def main_demo() -> None:
             'string': 'Hello World'
         }}},
         on_select=lambda e: ui.notify(f'Select: {e}'),
-        on_change=lambda e: ui.notify(f'Change: {e}')).classes('w-full')
+        on_change=lambda e: ui.notify(f'Change: {e}'))