maputnik/src/components/ScrollContainer.jsx

18 lines
284 B
React
Raw Normal View History

2016-12-17 20:19:01 +01:00
import React from 'react'
const ScrollContainer = (props) => {
2016-12-30 21:02:39 +01:00
return <div style={{
2016-12-21 12:06:33 +01:00
overflowX: "visible",
2016-12-17 20:19:01 +01:00
overflowY: "scroll",
bottom:0,
left:0,
right:0,
top:1,
position: "absolute",
}}>
{props.children}
</div>
}
export default ScrollContainer