Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaotoday committed Sep 30, 2021
1 parent fc7ca1f commit 2e9f09b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/assets/styles/utils/variables.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use "sass:map";

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

$font-sizes: $pxes;

Expand Down
16 changes: 13 additions & 3 deletions src/components/layout/main/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@
@import "~@/assets/styles/utils/index";

@include c(main) {
@include position--absolute(0, 0, 0, map.get($the-layout, the-sidebar, width));
@include position--absolute(
0,
0,
0,
map.get($the-layout, the-sidebar, width)
);

overflow: hidden;
min-width: 1200px;

@include e(body) {
@include position--absolute(map.get($the-layout, the-header, height) + 14px, 14px, 14px, 14px);
@include position--absolute(
map.get($the-layout, the-header, height) + 14px,
14px,
14px,
14px
);
@include padding(50px + 12px, 20px, 20px, 20px);

background-color: white;
Expand Down Expand Up @@ -41,6 +51,6 @@
@include text--middle(50px);

background-color: white;
border-bottom: 1px solid map.get($--border-color, "light");
border-bottom: 1px solid map.get($border-color, light);
}
}

0 comments on commit 2e9f09b

Please sign in to comment.