From 899a5ae1cf55c60836d56e816a131ada61a9d46a Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Mon, 12 Jan 2026 16:02:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E6=97=81=E8=BE=B9=E6=98=BE=E7=A4=BA=E5=A4=9A=E4=BD=99=E6=96=87?= =?UTF-8?q?=E5=AD=97=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 font-fallback.css 中错误的 .fa-*::after 样式 - 这些样式会在所有图标后面添加文字,而非仅在字体加载失败时显示 --- assets/vendor/external/fonts/font-fallback.css | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/assets/vendor/external/fonts/font-fallback.css b/assets/vendor/external/fonts/font-fallback.css index 62e623c..494d299 100644 --- a/assets/vendor/external/fonts/font-fallback.css +++ b/assets/vendor/external/fonts/font-fallback.css @@ -58,15 +58,4 @@ code, pre, .monospace { /* 确保图标字体备用 */ .fa, .fas, .far, .fal, .fab { font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", sans-serif; -} - -/* 当图标字体不可用时显示文字 */ -.fa-home::after { content: "首页"; } -.fa-user::after { content: "用户"; } -.fa-search::after { content: "搜索"; } -.fa-menu::after { content: "菜单"; } -.fa-close::after { content: "关闭"; } -.fa-arrow-left::after { content: "←"; } -.fa-arrow-right::after { content: "→"; } -.fa-arrow-up::after { content: "↑"; } -.fa-arrow-down::after { content: "↓"; } \ No newline at end of file +} \ No newline at end of file