openvibers/openvibe.deals Commits

Touch targets on phones (fleet audit) (#141)

OP OpenVibers committed 14 days ago · 30ee5c48f3 · 2 files, +11 −1

* Touch targets on phones (fleet audit)

* Touch targets on phones (fleet audit): raise the CSS budget for the phone rules

cssRawKB 43 -> 43.5: the touch-pointer rules (44px chips, search button, links and the wider More hit area) grow deals.css by 0.3 KB raw.

Changes

ddiff --git a/public/css/deals.css b/public/css/deals.css
iindex 905f421..7167366 100644
---- a/public/css/deals.css
++++ b/public/css/deals.css
@@@ -189,3 +189,13 @@ code { overflow-wrap: anywhere; }
.hm-stats > li { flex: 0 0 auto; width: 132px; scroll-snap-align: start; }
.hm-chips > li:nth-child(n+11) { display: none; }
}
++
++/* Touch targets on phones (fleet audit, 2026-10-29): touch pointers only. */
++@media (pointer: coarse) {
++ .hm-chips a { min-height: 44px; }
++ .hm-search button { min-height: 44px; }
++ .hm-more { position: relative; }
++ .hm-more::after { content: ''; position: absolute; left: 0; right: 0; top: -9px; bottom: -9px; }
++ .hm-card h3 a { display: inline-block; min-height: 44px; }
++ .cf-campaign a { display: inline-block; min-height: 44px; }
++}
ddiff --git a/test/perf-budget.test.js b/test/perf-budget.test.js
iindex 69ec633..f2c4fbb 100644
---- a/test/perf-budget.test.js
++++ b/test/perf-budget.test.js
@@@ -18,7 +18,7 @@ const BUDGETS = {
jsRawKB: 308, // 307.8 with openvibe-shared 4.43.0 (room.css carries the kit tokens, 4.39.1; the kit's 4.39.0 rules); 300.5 openvibe-shared 4.25.0: the menu's orb beside the brand, both balances on phones, messages, the account sheet on phones and the bar stepping away on phones; 293 openvibe-shared 4.22.0: the navbar's magnifier search button and More dropdown (search.js and loading.js load only when used); 287.2 Shared 4.17.0: OpenCoins and Vibes chips (wallet: true) in the navbar; 273.2 openvibe-shared 4.15 footer: the compact footer opens into the whole one, and the pulse line; 263.4 with shared 4.11.0's seasonal navbar; 254.1 with openvibe-shared 4.9.0 (status text twins in every theme, 2026-10-23); 239.1 (212.2 before web-runtime.js)
jsBrotliKB: 77, // 76.1 with openvibe-shared 4.43.0 (room.css carries the kit tokens, 4.39.1; the kit's 4.39.0 rules); 74.2 openvibe-shared 4.25.0: the menu's orb beside the brand, both balances on phones, messages, the account sheet on phones and the bar stepping away on phones; 70.5 Shared 4.17.0: OpenCoins and Vibes chips (wallet: true) in the navbar; 67.9 openvibe-shared 4.15 footer: the compact footer opens into the whole one, and the pulse line; 65.3 Shared 4.12.0: the light/dark switch, the seasonal mark and the theme pairs; 61.7 with shared 4.11.0's seasonal navbar; 56.3 (49.9 before web-runtime.js)
cssFiles: 2, // 2 (deals.css, openvibe-shared showcase.css)
-- cssRawKB: 43, // 38.2 openvibe-shared 4.26.1 (hero visual); 30.4 with Shared 4.13.0 (2026-10-26: account links); 24.2 with the front page's stats, cards, chips and questions (19.0 before)
++ cssRawKB: 43.5, // 43.3 touch targets on phones (2026-10-29); 38.2 openvibe-shared 4.26.1 (hero visual); 30.4 with Shared 4.13.0 (2026-10-26: account links); 24.2 with the front page's stats, cards, chips and questions (19.0 before)
cssBrotliKB: 10, // 8.1 openvibe-shared 4.26.1 (hero visual); 6.5 with Shared 4.13.0 (2026-10-26: account links); 5.4 with the front page (2026-10-22); 4.7 with the crowdfunding rules; 1.5 before showcase.css
externalFiles: 1, // 0
};