Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title prop css override #6

Open
scho3034 opened this issue Feb 3, 2023 · 1 comment
Open

Title prop css override #6

scho3034 opened this issue Feb 3, 2023 · 1 comment

Comments

@scho3034
Copy link

scho3034 commented Feb 3, 2023

Can i override the css for title prop?
It is adding a margin-bottom of 30px by default.

@DarylBuckle
Copy link
Owner

Hi @scho3034

Unfortunately there isn't currently a prop to override the chart title style attribute. The only way to achieve this at the moment would be to add some css in your style sheet to override it using an !important tag.

E.g

.funnel-pipeline-chart h2 {
  margin-bottom: 0px !important;
}

should do the trick.

Let me know otherwise.

Daryl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants