Skip to content

Commit f026e68

Browse files
authored
Merge pull request #549 from CasperVonPfaler/hotfix/fix-scrolling-marquee-on-splash-page
Fix scrolling marquee text overlapping on safari
2 parents f87928b + 2204dc2 commit f026e68

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

components/splash-viz/splash-viz.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default class SplashViz extends React.Component {
1111
<section className="splash-viz">
1212
<h1 className="splash-viz__heading">
1313
<span> bundle your</span>
14-
<TextRotator repeatDelay={ 5000 } maxWidth={ 110 }>
14+
<TextRotator delay={ 5000 } repeatDelay={ 5000 } maxWidth={ 110 }>
1515
<span> assets </span>
1616
<span> scripts </span>
1717
<span> images </span>

components/text-rotater/text-rotater-style.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@
3939
display: inline-flex;
4040
flex-direction: column;
4141
text-align: left;
42+
43+
> * {
44+
flex-shrink: 0;
45+
}
4246
}

0 commit comments

Comments
 (0)