mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +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 { ensureIsInt, t, validateNonEmpty } from '@superset-ui/core';
|
||||
import {
|
||||
ControlPanelConfig,
|
||||
ControlPanelsContainerProps,
|
||||
ControlSubSectionHeader,
|
||||
D3_FORMAT_DOCS,
|
||||
D3_NUMBER_FORMAT_DESCRIPTION_VALUES_TEXT,
|
||||
D3_FORMAT_OPTIONS,
|
||||
@@ -90,7 +91,7 @@ const config: ControlPanelConfig = {
|
||||
],
|
||||
...legendSection,
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<div className="section-header">{t('Labels')}</div>],
|
||||
[<ControlSubSectionHeader>{t('Labels')}</ControlSubSectionHeader>],
|
||||
[
|
||||
{
|
||||
name: 'label_type',
|
||||
@@ -195,7 +196,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
],
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<div className="section-header">{t('Pie shape')}</div>],
|
||||
[<ControlSubSectionHeader>{t('Pie shape')}</ControlSubSectionHeader>],
|
||||
[
|
||||
{
|
||||
name: 'outerRadius',
|
||||
|
||||
Reference in New Issue
Block a user