feat(explore): improve UI in the control panel (#19748)

* feat(explore): improve section header of control panel

* fix checkbox control color and radio button color
This commit is contained in:
Stephen Liu
2022-04-20 21:06:33 +08:00
committed by GitHub
parent 4f997cd9ac
commit e3a54aa3c1
30 changed files with 99 additions and 85 deletions

View File

@@ -194,7 +194,7 @@ const config: ControlPanelConfig = {
},
],
...legendSection,
[<h1 className="section-header">{t('X Axis')}</h1>],
[<div className="section-header">{t('X Axis')}</div>],
[
{
name: 'x_axis_time_format',
@@ -229,7 +229,7 @@ const config: ControlPanelConfig = {
],
...richTooltipSection,
// eslint-disable-next-line react/jsx-key
[<h1 className="section-header">{t('Y Axis')}</h1>],
[<div className="section-header">{t('Y Axis')}</div>],
['y_axis_format'],
[
{