ソースを参照

fix: 移除有重大BUG的全局样式

该样式会导致页面布局异常,先注释掉相关代码
feige996 8 ヶ月 前
コミット
1a282e7f47
1 ファイル変更9 行追加8 行削除
  1. 9 8
      src/style/index.scss

+ 9 - 8
src/style/index.scss

@@ -25,11 +25,12 @@ border-t-1
 2. 允许仅通过添加边框宽度来向元素添加边框。 (https://github.com/tailwindcss/tailwindcss/pull/116)
 3. [UnoCSS]: 允许使用css变量'--un-default-border-color'覆盖默认边框颜色
 */
-:not(not),
-::before,
-::after {
-  box-sizing: border-box; /* 1 */
-  border-width: 0; /* 2 */
-  border-style: solid; /* 2 */
-  border-color: var(--un-default-border-color, #e5e7eb); /* 3 */
-}
+// 这个样式有重大BUG,先去掉!!(2025-08-15)
+// :not(not),
+// ::before,
+// ::after {
+//   box-sizing: border-box; /* 1 */
+//   border-width: 0; /* 2 */
+//   border-style: solid; /* 2 */
+//   border-color: var(--un-default-border-color, #e5e7eb); /* 3 */
+// }