mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
[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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user