style: white toolbar for SQL Lab (#10851)
This commit is contained in:
parent
85a916036c
commit
6cb67017a5
|
|
@ -534,6 +534,7 @@ class SqlEditor extends React.PureComponent {
|
||||||
<div className="rightItems">
|
<div className="rightItems">
|
||||||
<Button
|
<Button
|
||||||
className="autocomplete"
|
className="autocomplete"
|
||||||
|
buttonSize="small"
|
||||||
onClick={this.handleToggleAutocompleteEnabled}
|
onClick={this.handleToggleAutocompleteEnabled}
|
||||||
>
|
>
|
||||||
<Checkbox checked={this.state.autocompleteEnabled} />{' '}
|
<Checkbox checked={this.state.autocompleteEnabled} />{' '}
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ export default class TemplateParamsEditor extends React.Component {
|
||||||
<ModalTrigger
|
<ModalTrigger
|
||||||
modalTitle={t('Template Parameters')}
|
modalTitle={t('Template Parameters')}
|
||||||
triggerNode={
|
triggerNode={
|
||||||
<Button tooltip={t('Edit template parameters')}>
|
<Button tooltip={t('Edit template parameters')} buttonSize="small">
|
||||||
{`${t('parameters')} `}
|
{`${t('parameters')} `}
|
||||||
{paramCount > 0 && <Badge>{paramCount}</Badge>}
|
{paramCount > 0 && <Badge>{paramCount}</Badge>}
|
||||||
{!this.state.isValid && (
|
{!this.state.isValid && (
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ div.Workspace {
|
||||||
|
|
||||||
.sql-toolbar {
|
.sql-toolbar {
|
||||||
padding: 10px 10px 5px 10px;
|
padding: 10px 10px 5px 10px;
|
||||||
background-color: @gray-bg;
|
background-color: @lightest;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
border: 1px solid @gray-light;
|
border: 1px solid @gray-light;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue