|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div id="app">
|
|
|
+ <div class="root">
|
|
|
<nav-bar />
|
|
|
<div class="wrap">
|
|
|
<left-aside class="menu" v-if="isSdk"></left-aside>
|
|
@@ -28,6 +28,7 @@ body {
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
color: #444;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
|
|
|
body {
|
|
@@ -39,6 +40,10 @@ body {
|
|
|
min-width: 700PX;
|
|
|
}
|
|
|
|
|
|
+#app {
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
.run,
|
|
|
.demo {
|
|
|
padding-bottom: 10px;
|
|
@@ -50,11 +55,14 @@ body {
|
|
|
</style>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-#app {
|
|
|
+.root {
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
.wrap {
|
|
|
display: flex;
|
|
|
align-items: stretch;
|
|
|
- min-height: calc(100vh - 80px);
|
|
|
+ flex-grow: 1;
|
|
|
.menu {
|
|
|
width: 200px;
|
|
|
border-right: 1px solid #eee;
|