From 1a282e7f4757d39bb3515238b3326c9f0b7e5ccd Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Fri, 15 Aug 2025 10:05:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=9C=89=E9=87=8D?= =?UTF-8?q?=E5=A4=A7BUG=E7=9A=84=E5=85=A8=E5=B1=80=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 该样式会导致页面布局异常,先注释掉相关代码 --- src/style/index.scss | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/style/index.scss b/src/style/index.scss index eee4e25..1ee7de9 100644 --- a/src/style/index.scss +++ b/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 */ +// }