Permalink
Browse files

[explore-v2] make control panel sections and fields more dense (#1954)

* make control panel sections and fields more dense

* remove Panel

* use <Panel> with className prop
  • Loading branch information...
1 parent 9c6a579 commit fc74fbeeaa0834f1dcf5f83b25d3b709b1b9fd95 @ascott ascott committed on GitHub Jan 12, 2017
@@ -32,7 +32,10 @@ export default class ControlPanelSection extends React.Component {
render() {
return (
- <Panel header={this.renderHeader()}>
+ <Panel
+ className="control-panel-section"
+ header={this.renderHeader()}
+ >
{this.props.children}
</Panel>
);
@@ -9,7 +9,7 @@ const propTypes = {
function FieldSetRow(props) {
const colSize = NUM_COLUMNS / props.fields.length;
return (
- <div className="row space-2">
+ <div className="row space-1">
{props.fields.map((field, i) => (
<div className={`col-lg-${colSize} col-xs-12`} key={i} >
{field}
@@ -25,3 +25,8 @@
margin-top: 0px;
margin-right: 3px;
}
+
+.control-panel-section {
+ margin-bottom: 0px;
+ box-shadow: none;
+}

0 comments on commit fc74fbe

Please sign in to comment.