SharpMeow commited on
Commit
0f224e2
·
verified ·
1 Parent(s): fea4425

Scroll Lens 1.1.1

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1442,7 +1442,9 @@ footer.sl-credit { text-align:center; color: var(--body-text-color-subdued); fon
1442
  #sl-viewer-html .slv-view input[type=range] { width:100%; }
1443
  #sl-viewer-html .slv-more { display:flex; flex-direction:column; gap:6px; }
1444
  #sl-viewer-html .slv-more > summary { cursor:pointer; color: var(--body-text-color-subdued); font-size:.84rem; }
1445
- @media (min-width: 601px) { #sl-viewer-html .slv-more > summary { display:none !important; } }
 
 
1446
  #sl-viewer-html .slv-views[hidden], #sl-viewer-html .slv-3d[hidden] { display:none !important; }
1447
  #sl-viewer-html .slv-3d { display:flex; flex-direction:column; gap:6px; }
1448
  #sl-viewer-html .slv-3d-canvas { display:block; width:100%; border-radius:6px; background:#0b0f14; touch-action:none; cursor:grab; }
 
1442
  #sl-viewer-html .slv-view input[type=range] { width:100%; }
1443
  #sl-viewer-html .slv-more { display:flex; flex-direction:column; gap:6px; }
1444
  #sl-viewer-html .slv-more > summary { cursor:pointer; color: var(--body-text-color-subdued); font-size:.84rem; }
1445
+ /* Wide screens hide the summary only while the controls are open: a page opened narrow (closed) and then widened
1446
+ keeps its way back to them. */
1447
+ @media (min-width: 601px) { #sl-viewer-html .slv-more[open] > summary { display:none !important; } }
1448
  #sl-viewer-html .slv-views[hidden], #sl-viewer-html .slv-3d[hidden] { display:none !important; }
1449
  #sl-viewer-html .slv-3d { display:flex; flex-direction:column; gap:6px; }
1450
  #sl-viewer-html .slv-3d-canvas { display:block; width:100%; border-radius:6px; background:#0b0f14; touch-action:none; cursor:grab; }