mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
chore: make control panel sub sections look better (#24736)
This commit is contained in:
committed by
GitHub
parent
9b6ed315f8
commit
22a0fe555c
@@ -21,6 +21,7 @@ import { t } from '@superset-ui/core';
|
||||
import {
|
||||
sharedControls,
|
||||
ControlPanelConfig,
|
||||
ControlSubSectionHeader,
|
||||
D3_FORMAT_OPTIONS,
|
||||
sections,
|
||||
getStandardizedControls,
|
||||
@@ -73,7 +74,7 @@ const config: ControlPanelConfig = {
|
||||
label: t('Chart Options'),
|
||||
expanded: true,
|
||||
controlSetRows: [
|
||||
[<div className="section-header">{t('General')}</div>],
|
||||
[<ControlSubSectionHeader>{t('General')}</ControlSubSectionHeader>],
|
||||
[
|
||||
{
|
||||
name: 'min_val',
|
||||
@@ -193,7 +194,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
[<div className="section-header">{t('Axis')}</div>],
|
||||
[<ControlSubSectionHeader>{t('Axis')}</ControlSubSectionHeader>],
|
||||
[
|
||||
{
|
||||
name: 'show_axis_tick',
|
||||
@@ -232,7 +233,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
[<div className="section-header">{t('Progress')}</div>],
|
||||
[<ControlSubSectionHeader>{t('Progress')}</ControlSubSectionHeader>],
|
||||
[
|
||||
{
|
||||
name: 'show_progress',
|
||||
@@ -273,7 +274,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
[<div className="section-header">{t('Intervals')}</div>],
|
||||
[<ControlSubSectionHeader>{t('Intervals')}</ControlSubSectionHeader>],
|
||||
[
|
||||
{
|
||||
name: 'intervals',
|
||||
|
||||
Reference in New Issue
Block a user