Skip to content

Commit 9793fff

Browse files
committed
perf[Style]: refine fixed-header style when open el-dialog
1 parent 896962a commit 9793fff

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/layout/components/AppMain.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ export default {
2727
}
2828
.fixed-header+.app-main {
2929
padding-top: 50px;
30-
height: 100vh;
31-
overflow: auto;
30+
}
31+
</style>
32+
33+
<style lang="scss">
34+
// fix css style bug in open el-dialog
35+
.el-popup-parent--hidden {
36+
.fixed-header {
37+
padding-right: 15px;
38+
}
3239
}
3340
</style>

0 commit comments

Comments
 (0)