chrissoria commited on
Commit
3ef1ec4
·
1 Parent(s): fa9ae82

Target child spans for word-break fix in radio labels

Browse files
Files changed (1) hide show
  1. theme.py +9 -0
theme.py CHANGED
@@ -373,6 +373,15 @@ ul[role="listbox"] {
373
  hyphens: none !important;
374
  }
375
 
 
 
 
 
 
 
 
 
 
376
  .stRadio > div > label:hover {
377
  border-color: var(--teal-dim);
378
  color: var(--text) !important;
 
373
  hyphens: none !important;
374
  }
375
 
376
+ .stRadio > div > label *,
377
+ .stRadio [data-baseweb="radio"] p,
378
+ .stRadio [data-testid="stMarkdownContainer"] p {
379
+ word-break: normal !important;
380
+ overflow-wrap: normal !important;
381
+ hyphens: none !important;
382
+ white-space: normal !important;
383
+ }
384
+
385
  .stRadio > div > label:hover {
386
  border-color: var(--teal-dim);
387
  color: var(--text) !important;