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

Label's css conflict with boostrap's .label #67

Closed
RexKang opened this issue Dec 18, 2014 · 3 comments
Closed

Label's css conflict with boostrap's .label #67

RexKang opened this issue Dec 18, 2014 · 3 comments

Comments

@RexKang
Copy link

RexKang commented Dec 18, 2014

There is a .label in bootstrap 3, when using bootstrap and mermaid together, the color of mermaid's .label will changed to white, like http://jsbin.com/hegoqelogo/1/.

So I suggest change .label to .mermaid-label to avoid the conflict.

@knsv
Copy link
Collaborator

knsv commented Dec 18, 2014

You are correct! There is work in progress that will improve how the svg works outside the browser , see #58. This will luckily also remove this conflict as a side effect. :)

The text will not be in a label anymore.

@fanix
Copy link

fanix commented Feb 15, 2015

add ".mermaid .label {}" to your css file will be ok.

@knsv
Copy link
Collaborator

knsv commented Mar 1, 2015

Thanks for the suggestions @fanix. As of release 0.4.0 a mermaid.css stylesheet is included in the distribution, this stylesheet plays nice with bootstrap. Closing this issue, reopen if this still causes problems.

@knsv knsv closed this as completed Mar 1, 2015
mgenereu referenced this issue in mgenereu/mermaid Jun 25, 2022
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

3 participants