openvibers/openvibe.zone Commits
Home: a pane of wide code shrinks with its column again (the phone page was 861 px wide) (#119)
Changes
@@@ -102,6 +102,8 @@ details input { font: inherit; padding: 7px 9px; border-radius: 8px; border: 1pxjump to a pane (the owner's rule, 2026-10-31: never hide content to shorten). A wide screen shows the panes asbefore, with no chips. */.pick-head, .pick-row { display: none; }++/* A pane holds wide code: it shrinks with its column and its <pre> scrolls, instead of widening the page. */++.pick-pane { min-width: 0; }@media (max-width: 640px) {.pick-bar { margin-top: 30px; }.pick-head { display: block; }@@@ -45,6 +45,8 @@ const { boot, check, done } = require('./helpers/boot');assert.ok(text.includes('ov-shipped-home'), 'what shipped is still in the page');const css = fs.readFileSync(path.join(__dirname, '..', 'public', 'css', 'app.css'), 'utf8');++++ assert.match(css, /\.pick-pane \{ min-width: 0; \}/, 'a pane of wide code shrinks with its column (it widened the phone page to 861 px, 2026-11-01)');assert.match(css, /\.pick-row \{ display: none; \}/, 'the chips are hidden by default');});await t.close();
@@ -102,6 +102,8 @@ details input { font: inherit; padding: 7px 9px; border-radius: 8px; border: 1px
@@ -102,6 +102,8 @@ details input { font: inherit; padding: 7px 9px; border-radius: 8px; border: 1px
jump to a pane (the owner's rule, 2026-10-31: never hide content to shorten). A wide screen shows the panes as
jump to a pane (the owner's rule, 2026-10-31: never hide content to shorten). A wide screen shows the panes as
before, with no chips. */
before, with no chips. */
.pick-head, .pick-row { display: none; }
.pick-head, .pick-row { display: none; }
+/* A pane holds wide code: it shrinks with its column and its <pre> scrolls, instead of widening the page. */
+.pick-pane { min-width: 0; }
@media (max-width: 640px) {
@media (max-width: 640px) {
.pick-bar { margin-top: 30px; }
.pick-bar { margin-top: 30px; }
.pick-head { display: block; }
.pick-head { display: block; }
@@ -45,6 +45,8 @@ const { boot, check, done } = require('./helpers/boot');
@@ -45,6 +45,8 @@ const { boot, check, done } = require('./helpers/boot');
assert.ok(text.includes('ov-shipped-home'), 'what shipped is still in the page');
assert.ok(text.includes('ov-shipped-home'), 'what shipped is still in the page');
const css = fs.readFileSync(path.join(__dirname, '..', 'public', 'css', 'app.css'), 'utf8');
const css = fs.readFileSync(path.join(__dirname, '..', 'public', 'css', 'app.css'), 'utf8');
+
+ assert.match(css, /\.pick-pane \{ min-width: 0; \}/, 'a pane of wide code shrinks with its column (it widened the phone page to 861 px, 2026-11-01)');
assert.match(css, /\.pick-row \{ display: none; \}/, 'the chips are hidden by default');
assert.match(css, /\.pick-row \{ display: none; \}/, 'the chips are hidden by default');
});
});
await t.close();
await t.close();