openvibers/openvibe.coupons Commits

Coupons: remove leftover pick-pane hiding rules (#211)

OP OpenVibers committed 10 days ago · d3032c3feb · 2 files, +3 −14

Changes

ddiff --git a/public/css/coupons.css b/public/css/coupons.css
iindex 9a0fc3f..69149fc 100644
---- a/public/css/coupons.css
++++ b/public/css/coupons.css
@@@ -255,16 +255,5 @@ main:has(.cpn-shop-title) .ovk-sub { white-space: normal; }
.cp-fold-hint { display: inline; margin-left: 8px; font-size: .78rem; font-weight: 600; color: var(--text-secondary, #96a7c2); }
}
--/* A link that points into a pick block opens it: the pane carries the id the link names. */
--@supports selector(:has(*)) { @media (max-width: 640px) {
-- .pick .pick-pane:target { display: block; }
--} }
--
/* The fold's summary carries the heading, so the section's own heading gives way to it. */
.cp-fold-block .cp-sec > .cp-head > h2 { display: none; }
--
--/* On a wide screen the pick block is invisible: its blocks sit where they were, in the order they were. */
--@media (min-width: 641px) {
-- .pick, .pick-body, .pick-pane { display: contents; }
-- .pick-bar { display: none; }
--}
ddiff --git a/test/home-short.test.js b/test/home-short.test.js
iindex 2625308..ce1cd7a 100644
---- a/test/home-short.test.js
++++ b/test/home-short.test.js
@@@ -1,8 +1,8 @@
'use strict';
/**
-- * The home on a phone (the owner's short-pages rule, 2026-10-30): the three code lists are one pick block, a row of
-- * chips picks one of them, and the parts a reader rarely needs are folds. Radio inputs and :has(), no script for the
-- * chips; every list stays in the page for crawlers; a wider screen shows them all and no chips.
++ * The home on a phone (the owner's short-pages rule, 2026-10-30): the three code lists are one pick block, every list
++ * is shown, and the chips are a row of links that jump to a list (the owner, 2026-10-31: never hide content to shorten).
++ * The parts a reader rarely needs are folds. A wider screen shows every list and no chips.
*/
const assert = require('assert');
const { boot, check, done } = require('./helpers/boot');