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:
高奕GaoYi 2024-09-09 08:05:34 +08:00 committed by GitHub
parent 14c8f752e4
commit 0acf8cc004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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') {