openvibers/openvibe.design Commits

/brand on a phone: the motion files are a sideways rail (#84)

OP OpenVibers committed 12 days ago · fed10aba5b · 1 file, +6 −0

Plan L51 step 5, the phone pass: every openvibe.design page checked at 390 px (no sideways overflow, no errors). The
tallest, /brand, loses 650 px: its motion files (a looping video each) scroll sideways on a phone instead of
stacking.

Changes

ddiff --git a/public/css/brand.css b/public/css/brand.css
iindex 08949ed..1a1ff54 100644
---- a/public/css/brand.css
++++ b/public/css/brand.css
@@@ -158,3 +158,9 @@
}
@media (prefers-reduced-motion:reduce){.br-chip,.br-files a{transition:none}.br .br-files a:hover{transform:none}}
.br-h3-note{margin-left:6px;color:var(--text-muted);font-weight:600;font-size:12px}
++
++/* A phone: the motion files are a sideways rail (the owner, 10-31: short pages by rails and folds, never by hiding). */
++@media (max-width:640px){
++ .br-mo{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin-right:-16px;padding:0 16px 8px 0;scrollbar-width:thin}
++ .br-mo>.br-mo-card{flex:0 0 82%;scroll-snap-align:start}
++}