mirror of
https://github.com/maputnik/editor.git
synced 2025-12-28 00:50:00 +00:00
Restructure and rename components
This commit is contained in:
17
src/components/ScrollContainer.jsx
Normal file
17
src/components/ScrollContainer.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react'
|
||||
import scrollbars from './scrollbars.scss'
|
||||
|
||||
const ScrollContainer = (props) => {
|
||||
return <div className={scrollbars.darkScrollbar} style={{
|
||||
overflowY: "scroll",
|
||||
bottom:0,
|
||||
left:0,
|
||||
right:0,
|
||||
top:1,
|
||||
position: "absolute",
|
||||
}}>
|
||||
{props.children}
|
||||
</div>
|
||||
}
|
||||
|
||||
export default ScrollContainer
|
||||
Reference in New Issue
Block a user