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

New DokuWiki Update messes with the Size #27

Open
Vitamin-X opened this issue Jul 13, 2022 · 5 comments
Open

New DokuWiki Update messes with the Size #27

Vitamin-X opened this issue Jul 13, 2022 · 5 comments

Comments

@Vitamin-X
Copy link

just updated to Release rc2022-06-26 "Igor" RC2

and the CSS file in /lib/exe/css.php contains "svg{width:auto;height:1.2em;}" and thats messing with the hight

@nhenryberends
Copy link

I would love to see even a hackey workaround—as is, all my flowcharts are very small, and I can't possibly zoom in far enough to get them legible.

@arlt
Copy link

arlt commented Aug 5, 2022

mermaid-override.css:

.mermaid svg {
	width: 100%;
	height: auto;
}

The height line fixed it here.

@axelhahn
Copy link

The mermaid-override.css was the right place on my installation too.
But the width of 100% shows some quite large svg graphs. I commented the wudth and need the height: auto only:

.mermaid svg {
	/*
	width: 100%;
	*/
	height: auto;
}

@axelhahn
Copy link

@arlt FYI both variants of mermaid-override.css show the same behaviour (both are OK):

.mermaid svg {
	/*
	width: 100%;
	*/
	height: auto;
}

and

.mermaid svg {
	width: unset;
	height: auto;
}

@Vitamin-X
Copy link
Author

Vitamin-X commented Oct 30, 2022

oh didn't expect so many comments but yea i also just removed it, if i remember right

EDIT:
My pull request is also still open

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

4 participants