-
+
{this.props.leftNode && {this.props.leftNode}}
css`
+ margin-bottom: 0;
+ box-shadow: none;
+
+ &:last-child {
+ padding-bottom: ${theme.gridUnit * 10}px;
+ }
+
+ .panel-body {
+ margin-left: ${theme.gridUnit * 4}px;
+ padding-bottom: 0px;
+ }
+
+ span.label {
+ display: inline-block;
+ }
+ `}
header={PanelHeader()}
key={sectionId}
>
diff --git a/superset-frontend/src/explore/main.less b/superset-frontend/src/explore/main.less
index 84ae27ef805b..43de0da2acc9 100644
--- a/superset-frontend/src/explore/main.less
+++ b/superset-frontend/src/explore/main.less
@@ -47,34 +47,10 @@
margin-right: 3px;
}
-.control-panel-section {
- margin-bottom: 0;
- box-shadow: none;
-
- &:last-child {
- padding-bottom: 40px;
- }
-}
-
.background-transparent {
background-color: transparent !important;
}
-.control-panel-section {
- .panel-body {
- margin-left: 15px;
- padding-bottom: 0px;
- }
-
- .control-label {
- margin-bottom: 0px;
- }
-
- span.label {
- display: inline-block;
- }
-}
-
.fa.expander {
width: 15px;
}