grasepard2 commited on
Commit
2ebd749
·
verified ·
1 Parent(s): 8468ddd

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +21 -0
style.css CHANGED
@@ -388,3 +388,24 @@ footer a:hover {
388
  background: var(--coral-glow);
389
  color: var(--ink);
390
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
  background: var(--coral-glow);
389
  color: var(--ink);
390
  }
391
+
392
+ /* =========================================================
393
+ FIX: constrain plot heights so they don't grow infinitely
394
+ ========================================================= */
395
+
396
+ .js-plotly-plot,
397
+ [data-testid="plot"],
398
+ .plot-container {
399
+ max-height: 500px !important;
400
+ min-height: 320px !important;
401
+ }
402
+
403
+ .gradio-container .gr-plot,
404
+ .gradio-container .plot {
405
+ max-height: 520px !important;
406
+ }
407
+
408
+ /* Ensure plot wrapper has a stable height */
409
+ .gradio-container [class*="plot"] > div {
410
+ max-height: 500px !important;
411
+ }