set min height for simulator graph

This commit is contained in:
llama 2025-08-05 22:11:53 +08:00
parent 2b55882cce
commit d10a179844
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

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;