remix图标本地化
This commit is contained in:
@@ -256,4 +256,29 @@
|
||||
.dark .content-container {
|
||||
@apply bg-gray-900 text-gray-200;
|
||||
}
|
||||
}
|
||||
|
||||
/* RemixIcon 图标保护规则 - 防止被样式隔离覆盖 */
|
||||
[class^="ri-"]:before,
|
||||
[class*=" ri-"]:before,
|
||||
i[class^="ri-"]:before,
|
||||
i[class*=" ri-"]:before {
|
||||
font-family: 'remixicon' !important;
|
||||
font-style: normal !important;
|
||||
font-weight: normal !important;
|
||||
font-variant: normal !important;
|
||||
text-transform: none !important;
|
||||
line-height: 1 !important;
|
||||
-webkit-font-smoothing: antialiased !important;
|
||||
-moz-osx-font-smoothing: grayscale !important;
|
||||
speak: none !important;
|
||||
}
|
||||
|
||||
/* 确保RemixIcon元素本身也使用正确的字体 */
|
||||
[class^="ri-"],
|
||||
[class*=" ri-"],
|
||||
i[class^="ri-"],
|
||||
i[class*=" ri-"] {
|
||||
font-family: 'remixicon' !important;
|
||||
font-style: normal !important;
|
||||
}
|
||||
Reference in New Issue
Block a user