[explore v2] add scrollbar to control panel container (#1284)

* add scroll bars to control panel container

* make query and save-btns block elements

* don't use react component, use custom styles

* move style to stylesheet
This commit is contained in:
Alanna Scott
2016-10-07 11:57:05 -07:00
committed by GitHub
parent 0a3121c243
commit 382b8e85da
5 changed files with 31 additions and 19 deletions

View File

@@ -14,8 +14,12 @@ const defaultProps = {
function ControlPanelsContainer(props) {
return (
<Panel>
{DefaultControls}
{VIZ_CONTROL_MAPPING[props.vizType]}
<div className="scrollbar-container">
<div className="scrollbar-content">
{DefaultControls}
{VIZ_CONTROL_MAPPING[props.vizType]}
</div>
</div>
</Panel>
);
}