Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-web
Commits
2f86c347
Commit
2f86c347
authored
Oct 01, 2017
by
Mattias J Duffy
Browse files
scrolls properly now
parent
efb48fb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/containers/Layout.js
View file @
2f86c347
...
...
@@ -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
'
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment