set min height for simulator graph (#4248)

This commit is contained in:
llama 2025-08-06 16:22:43 +08:00 committed by Thomas Rixen
parent 1fabe6f618
commit 47624f2980

View file

@ -646,7 +646,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
.svg-container { .svg-container {
width: 100%; 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; aspect-ratio: 600 / 250;
display: flex; display: flex;
align-items: center; align-items: center;