Skip to content

Commit d817ece

Browse files
committed
Merge branch 'dev'
2 parents 2e754ac + 7ddbcc5 commit d817ece

File tree

3 files changed

+16
-13
lines changed

3 files changed

+16
-13
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ cache:
2323
- release/nuxt-admin/node_modules
2424
- release/nuxt-vant/node_modules
2525
deploy:
26-
#- provider: pages
27-
# skip_cleanup: true
28-
# github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
29-
# local-dir: dist
30-
# on:
31-
# branch: master
26+
- provider: pages
27+
skip_cleanup: true
28+
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
29+
local-dir: dist
30+
on:
31+
branch: master
3232
- provider: script
3333
skip_cleanup: true
3434
script: npx semantic-release

template/framework-admin/layouts/default.vue

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515

1616
<section class="sub-container">
1717
<sidebar :menu-list="sideMenu" class="nav"></sidebar>
18-
<section class="main-content scroller-vertical">
18+
<section class="main-content">
1919
<bread-crumb />
20-
<el-scrollbar wrap-class="scrollbar-wrapper">
21-
<section class="sub-content">
20+
<section class="sub-content">
21+
<el-scrollbar wrap-class="scrollbar-wrapper">
2222
<section class="content">
2323
<nuxt />
2424
</section>
2525
<el-footer :height="FOOTER_HEIGHT">
2626
<copyright></copyright>
2727
</el-footer>
28-
</section>
29-
</el-scrollbar>
28+
</el-scrollbar>
29+
</section>
3030
</section>
3131
</section>
3232
</section>
@@ -97,14 +97,18 @@ export default {
9797
.main-content {
9898
flex: 1;
9999
width: calc(100vw - @sidebar-width);
100+
display: flex;
101+
flex-direction: column;
102+
justify-content: space-between;
100103
}
101104
102105
.sub-content {
103-
width: calc(100vw - @sidebar-width);
104106
height: calc(100vh - @--header-height - @--breadcrumb-height);
107+
overflow: hidden;
105108
}
106109
107110
.content {
111+
box-sizing: border-box;
108112
padding: 20px;
109113
margin: 0 20px;
110114
min-height: calc(

template/modules/styles-desktop/assets/global.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ a {
8484
.scrollbar-wrapper {
8585
overflow-x: hidden;
8686
overflow-y: auto;
87-
height: unset;
8887
}
8988
}
9089
}

0 commit comments

Comments
 (0)