mirror of
https://github.com/apache/superset.git
synced 2024-09-18 11:39:49 -04:00
feat(css): adds chartId
-based class to dashboard chart holder (#19873)
* feat: adds `chartId`-based class to dashboard chart holder * Adding comment to denote the purpose of the class in the code.
This commit is contained in:
parent
3e36d4a0a1
commit
60188ef654
@ -343,6 +343,8 @@ class ChartHolder extends React.Component {
|
|||||||
className={cx(
|
className={cx(
|
||||||
'dashboard-component',
|
'dashboard-component',
|
||||||
'dashboard-component-chart-holder',
|
'dashboard-component-chart-holder',
|
||||||
|
// The following class is added to support custom dashboard styling via the CSS editor
|
||||||
|
`dashboard-chart-id-${chartId}`,
|
||||||
this.state.outlinedComponentId ? 'fade-in' : 'fade-out',
|
this.state.outlinedComponentId ? 'fade-in' : 'fade-out',
|
||||||
isFullSize && 'full-size',
|
isFullSize && 'full-size',
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user