mirror of
https://github.com/apache/superset.git
synced 2026-04-25 19:14:27 +00:00
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:
@@ -240,7 +240,7 @@ const config: ControlPanelConfig = {
|
||||
),
|
||||
controlSetRows: [
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<h1 className="section-header">{t('Rolling Window')}</h1>],
|
||||
[<div className="section-header">{t('Rolling Window')}</div>],
|
||||
[
|
||||
{
|
||||
name: 'rolling_type',
|
||||
@@ -292,7 +292,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
],
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<h1 className="section-header">{t('Time Comparison')}</h1>],
|
||||
[<div className="section-header">{t('Time Comparison')}</div>],
|
||||
[
|
||||
{
|
||||
name: 'time_compare',
|
||||
@@ -341,10 +341,7 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<h1 className="section-header">{t('Python Functions')}</h1>],
|
||||
// eslint-disable-next-line react/jsx-key
|
||||
[<h2 className="section-header">pandas.resample</h2>],
|
||||
[<div className="section-header">{t('Resample')}</div>],
|
||||
[
|
||||
{
|
||||
name: 'resample_rule',
|
||||
|
||||
Reference in New Issue
Block a user