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

该样式会导致页面布局异常,先注释掉相关代码
This commit is contained in:
feige996
2025-08-15 10:05:15 +08:00
parent 5f442e0ed9
commit 1a282e7f47

View File

@@ -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 */
// }