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

Bug: Svg 图标Icon format错误 #4220

Closed
5 tasks done
likui628 opened this issue Aug 23, 2024 · 0 comments · Fixed by #4224
Closed
5 tasks done

Bug: Svg 图标Icon format错误 #4220

likui628 opened this issue Aug 23, 2024 · 0 comments · Fixed by #4224
Assignees
Labels
bug Something isn't working

Comments

@likui628
Copy link
Collaborator

likui628 commented Aug 23, 2024

Version

Vben Admin V5

Describe the bug?

image

需要提取svg内的body元素,外加viewbox数据作为参数

export interface IconifyDimenisons {
	// Left position of viewBox.
	// Defaults to 0.
	left?: number;

	// Top position of viewBox.
	// Defaults to 0.
	top?: number;

	// Width of viewBox.
	// Defaults to 16.
	width?: number;

	// Height of viewBox.
	// Defaults to 16.
	height?: number;
}

Reproduction

https://github.com/iconify/iconify/blob/b6c141ea1412e306ac20338e1e6c76f4bf2e0c39/packages/types/README.md?plain=1#L12

System Info

any

Relevant log output

No response

Validations

@likui628 likui628 added bug: pending triage bug Something isn't working and removed bug: pending triage labels Aug 23, 2024
@likui628 likui628 self-assigned this Aug 23, 2024
likui628 added a commit that referenced this issue Aug 23, 2024
@anncwb anncwb closed this as completed in 7fa4410 Aug 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant