-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
need more infoFurther information is requestedFurther information is requested
Description
Describe the bug
The arrow icons in the navigation bar frequently trigger redrawing
Reproduction
[class^='vpi-']:not(.bg), [class*=' vpi-']:not(.bg), .vp-icon:not(.bg) {
/* -webkit-mask: var(--icon) no-repeat; */
mask: var(--icon) no-repeat;
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
background-color: currentColor;
color: inherit;

Expected behavior
I hope to use SVG and other methods instead of using masks to display icons, which can avoid frequent redrawing
System Info
"vitepress": "^1.6.4",
Additional context

Validations
- Check if you're on the latest VitePress version.
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
need more infoFurther information is requestedFurther information is requested