From 9cdccb4d60ef5f99c036dea8ea41228881e26889 Mon Sep 17 00:00:00 2001 From: Cody Ward Date: Wed, 24 Jun 2026 14:35:57 -0600 Subject: [PATCH] Stack the Systems view below the Entity view if the horizontal width shrinks too much --- webview-ui/src/diagnostics_panel/App.css | 12 ++++++++++++ .../prefabs/tabs/ClientEntitySystems.tsx | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/webview-ui/src/diagnostics_panel/App.css b/webview-ui/src/diagnostics_panel/App.css index fbabd68..7c66dc7 100644 --- a/webview-ui/src/diagnostics_panel/App.css +++ b/webview-ui/src/diagnostics_panel/App.css @@ -361,6 +361,18 @@ main { text-align: right; } +.minecraft-entity-systems-tables-container { + display: flex; + flex-direction: row; + flex-wrap: wrap; + width: 100%; +} + +.minecraft-entity-systems-table-wrapper { + flex: 1; + min-width: 550px; +} + .minecraft-entity-system-count-badge { display: flex; align-items: center; diff --git a/webview-ui/src/diagnostics_panel/prefabs/tabs/ClientEntitySystems.tsx b/webview-ui/src/diagnostics_panel/prefabs/tabs/ClientEntitySystems.tsx index 054abce..a6809fc 100644 --- a/webview-ui/src/diagnostics_panel/prefabs/tabs/ClientEntitySystems.tsx +++ b/webview-ui/src/diagnostics_panel/prefabs/tabs/ClientEntitySystems.tsx @@ -441,8 +441,8 @@ const StatsTab: TabPrefab = { )} -
-
+
+

Entity Timings