Closes #146
This commit is contained in:
@ -1,18 +1,11 @@
|
||||
// @flow
|
||||
import React, { Component } from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
const Scroll = styled.div`
|
||||
const Scrollable = styled.div`
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
`;
|
||||
|
||||
class Scrollable extends Component {
|
||||
render() {
|
||||
return <Scroll {...this.props} />;
|
||||
}
|
||||
}
|
||||
|
||||
export default Scrollable;
|
||||
|
Reference in New Issue
Block a user