diff --git a/packages/chart/src/CdcChart.tsx b/packages/chart/src/CdcChart.tsx index 6231d7165..d7f1a3689 100644 --- a/packages/chart/src/CdcChart.tsx +++ b/packages/chart/src/CdcChart.tsx @@ -1289,7 +1289,7 @@ const CdcChart = ({ isDashboard={isDashboard} title={title} superTitle={config.superTitle} - classes={['chart-title', `${config.theme}`, 'cove-component__header']} + classes={['chart-title', `${config.theme}`, 'cove-component__header', 'mb-3']} style={undefined} /> diff --git a/packages/core/components/Layout/components/Visualization/visualizations.scss b/packages/core/components/Layout/components/Visualization/visualizations.scss index 9dfeef319..2543d6e65 100644 --- a/packages/core/components/Layout/components/Visualization/visualizations.scss +++ b/packages/core/components/Layout/components/Visualization/visualizations.scss @@ -1,6 +1,6 @@ .cdc-open-viz-module { .cdc-chart-inner-container .cove-component__content { - padding: 1rem 15px 27px 0 !important; + padding: 0 15px 27px 0 !important; } &.isEditor { overflow: auto; diff --git a/packages/core/components/ui/Title/index.tsx b/packages/core/components/ui/Title/index.tsx index 0ec7a2427..9fddd3ee8 100644 --- a/packages/core/components/ui/Title/index.tsx +++ b/packages/core/components/ui/Title/index.tsx @@ -16,7 +16,7 @@ const Title = (props: HeaderProps) => { const { isDashboard, title, superTitle, classes = [], showTitle = true, ariaLevel = 2 } = props // standard classes every vis should have - const updatedClasses = ['cove-component__header', 'component__header', ...classes] + const updatedClasses = ['cove-component__header', 'component__header', 'mb-3', ...classes] return ( title && diff --git a/packages/dashboard/src/CdcDashboardComponent.tsx b/packages/dashboard/src/CdcDashboardComponent.tsx index 9bb9502d1..5c5eb7dd7 100644 --- a/packages/dashboard/src/CdcDashboardComponent.tsx +++ b/packages/dashboard/src/CdcDashboardComponent.tsx @@ -534,7 +534,7 @@ export default function CdcDashboard({ initialState, isEditor = false, isDebug = classes={[`dashboard-title`, `${config.dashboard.theme ?? 'theme-blue'}`]} /> {/* Description */} - {description &&