Skip to content

Commit 2e9f09b

Browse files
committed
update
1 parent fc7ca1f commit 2e9f09b

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/assets/styles/utils/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@use "sass:map";
22

33
@import "../element-plus/variables";
4-
@import "node_modules/element-plus/packages/theme-chalk/src/var";
4+
@import "node_modules/element-plus/packages/theme-chalk/src/common/var";
55

66
$font-sizes: $pxes;
77

src/components/layout/main/style.scss

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,23 @@
33
@import "~@/assets/styles/utils/index";
44

55
@include c(main) {
6-
@include position--absolute(0, 0, 0, map.get($the-layout, the-sidebar, width));
6+
@include position--absolute(
7+
0,
8+
0,
9+
0,
10+
map.get($the-layout, the-sidebar, width)
11+
);
712

813
overflow: hidden;
914
min-width: 1200px;
1015

1116
@include e(body) {
12-
@include position--absolute(map.get($the-layout, the-header, height) + 14px, 14px, 14px, 14px);
17+
@include position--absolute(
18+
map.get($the-layout, the-header, height) + 14px,
19+
14px,
20+
14px,
21+
14px
22+
);
1323
@include padding(50px + 12px, 20px, 20px, 20px);
1424

1525
background-color: white;
@@ -41,6 +51,6 @@
4151
@include text--middle(50px);
4252

4353
background-color: white;
44-
border-bottom: 1px solid map.get($--border-color, "light");
54+
border-bottom: 1px solid map.get($border-color, light);
4555
}
4656
}

0 commit comments

Comments
 (0)