bjgrosse / react-resize-panel

Simple React resize panel component
MIT License
139 stars 55 forks source link

Demo script look and feel different than real demo #22

Closed carnegiea closed 3 years ago

carnegiea commented 3 years ago

I am not sure if is only me or something, the codes under the folder demo, when run in local, is different than the online demo or npm install from react-resize-panel. Is there some tiny difference that wasn't right at the source?

Thanks Bernad

carnegiea commented 3 years ago

I got the answer for this.

It is due to the --webkit-box and related css. To have similar output as shown in demo, the --webkit-box and related css has to be coded into the css resources as well.