mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [table-v2] sass declaration deprecation error (#18218)
Update table-v2.scss. Fix Warning Deprecation Warning: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in `& {}`. More info: https://sass-lang.com/d/mixed-decls ╷ 44 │ ┌ .#{$namespace}-vl__vertical, 45 │ │ .#{$namespace}-vl__horizontal { 46 │ │ z-index: -1; 47 │ │ } │ └─── nested rule ... │ 89 │ z-index: 1; │ ^^^^^^^^^^ declaration ╵ ..\..\node_modules\.pnpm\element-plus@2.8.2_vue@3.5.3_typescript@5.4.5_\node_modules\element-plus\theme-chalk\src\table-v2.scss 89:5 @content .........
This commit is contained in:
parent
14c8f752e4
commit
0acf8cc004
@ -85,8 +85,8 @@
|
||||
@include table-root;
|
||||
left: 0;
|
||||
box-shadow: 2px 0 4px 0 rgb(0 0 0 / 6%);
|
||||
@include hidden-scrollbar;
|
||||
z-index: 1;
|
||||
@include hidden-scrollbar;
|
||||
}
|
||||
|
||||
@include e('right') {
|
||||
|
Loading…
Reference in New Issue
Block a user