set min height for simulator graph (#4248)

This commit is contained in:
llama 2025-08-06 16:22:43 +08:00 committed by GitHub
parent a77ffbf4a5
commit aae9f53e79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;