From aae9f53e79080bce2ac806dd8f3cd4fe9f57e5f3 Mon Sep 17 00:00:00 2001 From: llama Date: Wed, 6 Aug 2025 16:22:43 +0800 Subject: [PATCH] set min height for simulator graph (#4248) --- ts/routes/deck-options/SimulatorModal.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/routes/deck-options/SimulatorModal.svelte b/ts/routes/deck-options/SimulatorModal.svelte index 1ec477b13..5493b0093 100644 --- a/ts/routes/deck-options/SimulatorModal.svelte +++ b/ts/routes/deck-options/SimulatorModal.svelte @@ -646,7 +646,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html .svg-container { width: 100%; - max-height: calc(100vh - 400px); /* Account for modal header, controls, etc */ + /* Account for modal header, controls, etc */ + max-height: max(calc(100vh - 400px), 200px); aspect-ratio: 600 / 250; display: flex; align-items: center;