optimize history display
This commit is contained in:
@ -371,4 +371,4 @@ class JsonEditor(ui.json_editor):
|
||||
def __init__(self, properties: Dict, *, on_select: Optional[Callable] = None, on_change: Optional[Callable] = None) -> None:
|
||||
super().__init__(properties, on_select=on_select, on_change=on_change)
|
||||
self.classes("jse-theme-dark")
|
||||
self.tailwind.height("[640px]").width("[640px]")
|
||||
self.tailwind.height("[320px]").width("[640px]")
|
||||
|
||||
@ -84,7 +84,7 @@ class History(Tab):
|
||||
el.JsonEditor(properties=properties)
|
||||
with ui.tab_panel(response_tab):
|
||||
response = e.args["data"]["response"]
|
||||
ui.code(response).tailwind.height("[640px]").width("[640px]")
|
||||
ui.code(response).tailwind.height("[320px]").width("[640px]")
|
||||
|
||||
with el.WRow() as row:
|
||||
row.tailwind.height("[40px]")
|
||||
|
||||
Reference in New Issue
Block a user