Spaces:
Running on Zero

jejunepixels commited on
Commit
0d24145
·
verified ·
1 Parent(s): d2995a4

Keep sampling readout visible outside the transcript

Browse files
Files changed (1) hide show
  1. style.css +1 -1
style.css CHANGED
@@ -210,7 +210,7 @@
210
  .probability-setting input { accent-color:#f4bf67; }
211
  .token-probability { display:none; margin:0 .25em; color:inherit; font:600 10px system-ui,sans-serif; }
212
  [data-show-probabilities="true"] .token-probability { display:inline; }
213
- #page:has(.sampling-readout) { overflow:visible !important; }
214
  .transcript-role-heading { margin:8px 0 2px; color:#e0eeeb; font:600 12px/1.4 system-ui,sans-serif; }
215
  .sampling-readout { position:absolute; top:calc(100% + 8px); left:0; z-index:4; width:min(500px,100%); max-height:min(42dvh,390px); overflow:auto; box-sizing:border-box; padding:12px 15px; border:1px solid #78949d65; border-radius:10px; background:#0b1e2b; color:#e0eeeb; font:12px/1.5 system-ui,sans-serif; box-shadow:0 10px 24px #0005; }
216
  .sampling-readout-header { display:flex; align-items:start; justify-content:space-between; gap:8px; }
 
210
  .probability-setting input { accent-color:#f4bf67; }
211
  .token-probability { display:none; margin:0 .25em; color:inherit; font:600 10px system-ui,sans-serif; }
212
  [data-show-probabilities="true"] .token-probability { display:inline; }
213
+ #page:has(.sampling-readout),#text-overlay > .form:has(.sampling-readout) { overflow:visible !important; }
214
  .transcript-role-heading { margin:8px 0 2px; color:#e0eeeb; font:600 12px/1.4 system-ui,sans-serif; }
215
  .sampling-readout { position:absolute; top:calc(100% + 8px); left:0; z-index:4; width:min(500px,100%); max-height:min(42dvh,390px); overflow:auto; box-sizing:border-box; padding:12px 15px; border:1px solid #78949d65; border-radius:10px; background:#0b1e2b; color:#e0eeeb; font:12px/1.5 system-ui,sans-serif; box-shadow:0 10px 24px #0005; }
216
  .sampling-readout-header { display:flex; align-items:start; justify-content:space-between; gap:8px; }