perf(theme): improve iconfont layout

This commit is contained in:
pengzhanbo 2025-07-26 09:10:42 +08:00
parent 0443c6ff05
commit b120633453

View File

@ -29,6 +29,11 @@
background-color: unset;
}
.vp-icon.iconfont::before {
display: block;
line-height: 1;
}
/* internal icons - used under ISC from https://lucide.dev/ */
.vpi-align-left {
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E");