Unroll 1.7.2: on phones the Read box no longer covers the title with More controls open
Browse files- CHANGELOG.md +4 -0
- index.html +2 -2
- ui.css +3 -2
- ui.js +3 -0
- version.json +3 -3
CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ Unroll is released as v1.0.0. After it, bump the minor version for a feature pus
|
|
| 5 |
with `node tools/stamp_version.mjs minor|patch` before you commit, then add an entry here.
|
| 6 |
The 0.9.x entries below are the pre-release series that led up to 1.0.0. Version 0.9.0 was reconstructed from the git log.
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
## 1.7.1 (2026-10-27)
|
| 9 |
|
| 10 |
- **One page scroll bar**: the page scrolls as one; panels that fit the window keep one scrolling list at a time, never two, and the Connect your tool frame grows to its content (`onescroll.html`, from `kit spaceconnect` in ChaseHendrick/Scrolls).
|
|
|
|
| 5 |
with `node tools/stamp_version.mjs minor|patch` before you commit, then add an entry here.
|
| 6 |
The 0.9.x entries below are the pre-release series that led up to 1.0.0. Version 0.9.0 was reconstructed from the git log.
|
| 7 |
|
| 8 |
+
## 1.7.2 (2026-10-28)
|
| 9 |
+
|
| 10 |
+
- **Phones**: with More controls open, the Read box above the panel no longer covers the title. The panel's height now leaves room for that box.
|
| 11 |
+
|
| 12 |
## 1.7.1 (2026-10-27)
|
| 13 |
|
| 14 |
- **One page scroll bar**: the page scrolls as one; panels that fit the window keep one scrolling list at a time, never two, and the Connect your tool frame grows to its content (`onescroll.html`, from `kit spaceconnect` in ChaseHendrick/Scrolls).
|
index.html
CHANGED
|
@@ -34,7 +34,7 @@
|
|
| 34 |
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
| 35 |
<link rel="stylesheet" href="style.css?v=20261027one1">
|
| 36 |
<link rel="stylesheet" href="bench.css?v=20261027one1">
|
| 37 |
-
<link rel="stylesheet" href="ui.css?v=
|
| 38 |
<link rel="alternate" type="application/json+oembed" href="https://sharpmeow-unroll.static.hf.space/oembed.json" title="Unroll">
|
| 39 |
<script>
|
| 40 |
// embed mode is decided before the first paint so the compact layout never flashes
|
|
@@ -405,7 +405,7 @@ Deep link to one winding: https://sharpmeow-unroll.static.hf.space/?scroll=PHerc
|
|
| 405 |
<script type="module" src="app.js?v=20261027one1"></script>
|
| 406 |
<script type="module" src="polish.js?v=20261027one1"></script>
|
| 407 |
<script type="module" src="lib/bench.js?v=20261027one1"></script>
|
| 408 |
-
<script type="module" src="ui.js?v=
|
| 409 |
<script type="module" src="lib/ctvolume.js?v=20261027one1"></script>
|
| 410 |
<script type="module" src="lib/ctwl.js?v=20261027one1"></script>
|
| 411 |
<script type="module" src="lib/dragres.js?v=20261027one1"></script>
|
|
|
|
| 34 |
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
| 35 |
<link rel="stylesheet" href="style.css?v=20261027one1">
|
| 36 |
<link rel="stylesheet" href="bench.css?v=20261027one1">
|
| 37 |
+
<link rel="stylesheet" href="ui.css?v=20261028phone1">
|
| 38 |
<link rel="alternate" type="application/json+oembed" href="https://sharpmeow-unroll.static.hf.space/oembed.json" title="Unroll">
|
| 39 |
<script>
|
| 40 |
// embed mode is decided before the first paint so the compact layout never flashes
|
|
|
|
| 405 |
<script type="module" src="app.js?v=20261027one1"></script>
|
| 406 |
<script type="module" src="polish.js?v=20261027one1"></script>
|
| 407 |
<script type="module" src="lib/bench.js?v=20261027one1"></script>
|
| 408 |
+
<script type="module" src="ui.js?v=20261028phone1"></script>
|
| 409 |
<script type="module" src="lib/ctvolume.js?v=20261027one1"></script>
|
| 410 |
<script type="module" src="lib/ctwl.js?v=20261027one1"></script>
|
| 411 |
<script type="module" src="lib/dragres.js?v=20261027one1"></script>
|
ui.css
CHANGED
|
@@ -107,11 +107,12 @@ body.ui2 .scrub:focus-within .knob { outline: 3px solid var(--ui-focus); }
|
|
| 107 |
/* readout and credit never sit under the panel */
|
| 108 |
body.ui2 .credit { right: calc(var(--gut) + 316px); }
|
| 109 |
|
| 110 |
-
/* small screens: the panel docks above the bottom bar; More controls unfolds View, Destroy and Scrolls
|
|
|
|
| 111 |
@media (max-width: 720px), (max-height: 480px) {
|
| 112 |
body.ui2 nav.hud.tr {
|
| 113 |
top: auto; left: var(--gut); right: var(--gut); bottom: calc(var(--gut) + 76px); width: auto; max-width: none;
|
| 114 |
-
padding: 10px; gap: 8px; max-height: calc(100vh - var(--ui-top-b, 140px) - var(--gut) - 88px);
|
| 115 |
}
|
| 116 |
body.ui2 .ui-layers .ui-gh, body.ui2 .ui-layers .layer-hint, body.ui2 .ui-layers .layer-why { display: none; }
|
| 117 |
body.ui2 .ui-layers .seg[role=tablist] { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
|
|
|
|
| 107 |
/* readout and credit never sit under the panel */
|
| 108 |
body.ui2 .credit { right: calc(var(--gut) + 316px); }
|
| 109 |
|
| 110 |
+
/* small screens: the panel docks above the bottom bar; More controls unfolds View, Destroy and Scrolls. The panel
|
| 111 |
+
also leaves room for the Read box that sits on top of it (--ui-bl-h), so that box never covers the title */
|
| 112 |
@media (max-width: 720px), (max-height: 480px) {
|
| 113 |
body.ui2 nav.hud.tr {
|
| 114 |
top: auto; left: var(--gut); right: var(--gut); bottom: calc(var(--gut) + 76px); width: auto; max-width: none;
|
| 115 |
+
padding: 10px; gap: 8px; max-height: calc(100vh - var(--ui-top-b, 140px) - var(--gut) - 88px - var(--ui-bl-h, 0px));
|
| 116 |
}
|
| 117 |
body.ui2 .ui-layers .ui-gh, body.ui2 .ui-layers .layer-hint, body.ui2 .ui-layers .layer-why { display: none; }
|
| 118 |
body.ui2 .ui-layers .seg[role=tablist] { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
|
ui.js
CHANGED
|
@@ -154,6 +154,9 @@ function measure() {
|
|
| 154 |
const cr = document.querySelector('.credit');
|
| 155 |
const hb = Math.max(tl ? tl.getBoundingClientRect().bottom : 0, cr && innerWidth <= 720 ? cr.getBoundingClientRect().bottom : 0);
|
| 156 |
if (tl) st.setProperty('--ui-head-b', `${Math.ceil(tl.getBoundingClientRect().bottom)}px`);
|
|
|
|
|
|
|
|
|
|
| 157 |
st.setProperty('--ui-top-b', `${Math.ceil(hb)}px`);
|
| 158 |
}
|
| 159 |
|
|
|
|
| 154 |
const cr = document.querySelector('.credit');
|
| 155 |
const hb = Math.max(tl ? tl.getBoundingClientRect().bottom : 0, cr && innerWidth <= 720 ? cr.getBoundingClientRect().bottom : 0);
|
| 156 |
if (tl) st.setProperty('--ui-head-b', `${Math.ceil(tl.getBoundingClientRect().bottom)}px`);
|
| 157 |
+
// the Read box sits 10 px above the docked panel on phones; the panel's max-height leaves room for it
|
| 158 |
+
const ro = document.getElementById('readout'), rh = ro ? ro.getBoundingClientRect().height : 0;
|
| 159 |
+
st.setProperty('--ui-bl-h', `${rh ? Math.ceil(rh) + 10 : 0}px`);
|
| 160 |
st.setProperty('--ui-top-b', `${Math.ceil(hb)}px`);
|
| 161 |
}
|
| 162 |
|
version.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"name": "unroll",
|
| 3 |
-
"version": "1.7.
|
| 4 |
-
"date": "2026-10-
|
| 5 |
-
"sha": "
|
| 6 |
"license": "Apache-2.0",
|
| 7 |
"data_license": "CC-BY-NC-4.0",
|
| 8 |
"shaNote": "Short SHA of the commit this build was stamped on (its parent, since a commit cannot contain its own hash). Run node tools/stamp_version.mjs patch before each push.",
|
|
|
|
| 1 |
{
|
| 2 |
"name": "unroll",
|
| 3 |
+
"version": "1.7.2",
|
| 4 |
+
"date": "2026-10-28",
|
| 5 |
+
"sha": "757768f",
|
| 6 |
"license": "Apache-2.0",
|
| 7 |
"data_license": "CC-BY-NC-4.0",
|
| 8 |
"shaNote": "Short SHA of the commit this build was stamped on (its parent, since a commit cannot contain its own hash). Run node tools/stamp_version.mjs patch before each push.",
|