diff --git a/superset-frontend/src/explore/components/controls/SelectControl.jsx b/superset-frontend/src/explore/components/controls/SelectControl.jsx index 08b6e8576a72d..e310da20fdac3 100644 --- a/superset-frontend/src/explore/components/controls/SelectControl.jsx +++ b/superset-frontend/src/explore/components/controls/SelectControl.jsx @@ -18,7 +18,7 @@ */ import React from 'react'; import PropTypes from 'prop-types'; -import { t } from '@superset-ui/core'; +import { t, css } from '@superset-ui/core'; import { Select, CreatableSelect, OnPasteSelect } from 'src/components/Select'; import ControlHeader from 'src/explore/components/ControlHeader'; @@ -294,7 +294,17 @@ export default class SelectControl extends React.PureComponent { } return ( -
+
css` + .type-label { + margin-right: ${theme.gridUnit * 2}px; + width: ${theme.gridUnit * 7}px; + display: inline-block; + text-align: center; + font-weight: ${theme.typography.weights.bold}; + } + `} + > {this.props.showHeader && } {isMulti ? (