You've already forked vue-element-admin
feature: add fixedHeader settings
This commit is contained in:
@@ -22,7 +22,7 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style rel="stylesheet/scss" lang="scss" scoped>
|
||||
.app-main {
|
||||
/*50= navbar 50 */
|
||||
min-height: calc(100vh - 50px);
|
||||
@@ -31,9 +31,19 @@ export default {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hasTagsView .app-main {
|
||||
/*84 = navbar + tags-view = 50 + 34 */
|
||||
min-height: calc(100vh - 84px);
|
||||
.fixed-header+.app-main {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.hasTagsView {
|
||||
.app-main {
|
||||
/*84 = navbar + tags-view = 50 + 34 */
|
||||
min-height: calc(100vh - 84px);
|
||||
}
|
||||
|
||||
.fixed-header+.app-main {
|
||||
margin-top: 80px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user