diff --git a/autopve/elements.py b/autopve/elements.py index f89f5ae..1ccf90a 100644 --- a/autopve/elements.py +++ b/autopve/elements.py @@ -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]") diff --git a/autopve/tabs/history.py b/autopve/tabs/history.py index 845df6e..4daf3a5 100644 --- a/autopve/tabs/history.py +++ b/autopve/tabs/history.py @@ -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]")