stephane-monnot / react-vertical-timeline

Vertical timeline for React.js
https://stephane-monnot.github.io/react-vertical-timeline/
MIT License
1.08k stars 158 forks source link

2-Columns Layout doesn't work #42

Closed jed326 closed 4 years ago

jed326 commented 4 years ago

Whenever the layout prop is set to {"2-columns"}, either explicitly or by default, the 1-column layout still renders.

See example: https://codesandbox.io/s/stoic-lovelace-x8vxp?fontsize=14&hidenavigation=1&theme=dark

SBRKH commented 4 years ago

Hi, It depend on your resolution. It good for me.

stephane-monnot commented 4 years ago

Exactly, if the container width is greater than 1169px, you can see the 2 columns.

jed326 commented 4 years ago

Ah I see the CodeSandbox works for me whenever I expand the window. I was using Safari on fullscreen and it was only giving me 1 column so the issue must be somewhere in my code. Thanks!

aysoodaakbari commented 2 years ago

hi i have same problem in my code could you solve it?