Commit c16c2f46a1

c16c2f46a128187ff19885e1bd1475b8264f9696

parent: c772c46397

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-08-11 02:56 UTC

init

Layout: unified · split

docs/.vitepress/configs/markdown/emoji.ts +1 −1
@@ -261,7 +261,7 @@ export function renderEmojiMarkup(markup: string) {
261 const wrap = (cls: string) => 261 const wrap = (cls: string) =>
262 tip 262 tip
263 ? `<span class="icon-tip" data-tip="${tip}" tabindex="-1"><span class="${cls}"></span></span>` 263 ? `<span class="icon-tip" data-tip="${tip}" tabindex="-1"><span class="${cls}"></span></span>`
264 : `<span class="${cls}"></span>` 264 : `<span class="icon"><span class="${cls}"></span></span>`
265 265
266 // Check for custom icon aliases first 266 // Check for custom icon aliases first
267 if (customIconAliases[markup]) return wrap(`i-${customIconAliases[markup]}`) 267 if (customIconAliases[markup]) return wrap(`i-${customIconAliases[markup]}`)
docs/.vitepress/theme/styles/style.scss +6
@@ -1770,6 +1770,12 @@ html.effects-disabled {
1770 cursor: help; 1770 cursor: help;
1771} 1771}
1772 1772
1773/* Base icon wrapper for consistent alignment */
1774.icon {
1775 display: inline-block;
1776 vertical-align: -0.125em;
1777}
1778
1773/* Fixed-position tooltip rendered into <body> by JS to escape table overflow clipping */ 1779/* Fixed-position tooltip rendered into <body> by JS to escape table overflow clipping */
1774.icon-tip-popup { 1780.icon-tip-popup {
1775 position: fixed; 1781 position: fixed;