Pavan Kumar Jonnakuti commited on
Commit
f9abe22
Β·
1 Parent(s): 5e2b012

Broaden CSS selector for dialog to fix squeezed plots on newer Streamlit versions

Browse files
Files changed (1) hide show
  1. streamlit/dashboard.py +1 -1
streamlit/dashboard.py CHANGED
@@ -338,7 +338,7 @@ st.markdown(
338
  }
339
 
340
  /* ── Autoscale/Maximize Float Info Dialog ── */
341
- div[data-testid="stModal"] div[role="dialog"] {
342
  width: 95vw !important;
343
  max-width: 1550px !important;
344
  }
 
338
  }
339
 
340
  /* ── Autoscale/Maximize Float Info Dialog ── */
341
+ div[role="dialog"], [data-testid="stDialog"] div[role="dialog"], [data-testid="stDialog"], div[data-testid="stModal"] div[role="dialog"] {
342
  width: 95vw !important;
343
  max-width: 1550px !important;
344
  }