Skip to content

Commit 1f8cec0

Browse files
committed
enable rolling on mobile
1 parent e1b5cae commit 1f8cec0

File tree

1 file changed

+3
-5
lines changed
  • packages/dev/s2-docs/pages/s2/home

1 file changed

+3
-5
lines changed

packages/dev/s2-docs/pages/s2/home/Home.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ const slideTrack = keyframes(`
127127
const swapTrack = style({
128128
position: 'relative',
129129
display: {
130-
default: 'none',
131-
sm: 'flex',
130+
default: 'flex',
132131
'@media (prefers-reduced-motion: reduce)': 'none'
133132
},
134133
flexDirection: 'column',
@@ -141,8 +140,7 @@ const swapTrack = style({
141140

142141
const swapSizer = style({
143142
display: {
144-
default: 'block',
145-
sm: 'none',
143+
default: 'none',
146144
'@media (prefers-reduced-motion: reduce)': 'block'
147145
},
148146
whiteSpace: 'nowrap'
@@ -522,7 +520,7 @@ function HomeH1(props) {
522520
return (
523521
<h1
524522
{...otherProps}
525-
style={{'--width-per-em': getTitleTextWidth('Build apps with React Spectrum')} as any}
523+
style={{'--width-per-em': getTitleTextWidth('React Spectrum')} as any}
526524
className={style({
527525
font: 'heading-3xl',
528526
// This variable is used to calculate the line height.

0 commit comments

Comments
 (0)