Commit 2f86c347 authored by Mattias J Duffy's avatar Mattias J Duffy

scrolls properly now

parent efb48fb4
......@@ -76,7 +76,9 @@ class Layout extends React.Component {
<div className={classes.container}>
<div className={classes.mainContent}>
<SearchBar styles={styleSheet.searchBar} suggestions={suggestions}/>
<CardContainer styles={styleSheet.cardContainer}searchTerm={this.props.searchTerm} facilities={this.props.facilities}/>
<div className={classes.cardContainer}>
<CardContainer styles={styleSheet.cardContainer}searchTerm={this.props.searchTerm} facilities={this.props.facilities}/>
</div>
</div>
<div className={classes.sidebarToggleContainer}>
<button onClick={toggleSidebar} className={classes.openCloseButton}>
......@@ -136,6 +138,10 @@ const styleSheet = {
width:24,
height:24,
},
cardContainer:{
height:'calc(100% - 86px)',
overflowY:'scroll'
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment