diff --git a/examples/components/demo.vue b/examples/components/demo.vue index fbfc48ed8..b4654bb8a 100644 --- a/examples/components/demo.vue +++ b/examples/components/demo.vue @@ -1,6 +1,7 @@ diff --git a/examples/index.less b/examples/index.less index a725b3921..b66151d20 100644 --- a/examples/index.less +++ b/examples/index.less @@ -1,11 +1,25 @@ @import './theme/static/index.less'; +#app { + height: 100%; +} .site { display: flex; + flex-direction: column; + height: 100%; .nav { width: 200px; + overflow-y: scroll; } .content { flex: 1; + overflow-y: scroll; + } + #header { + padding: 0 50px; + } + .main-wrapper { + display: flex; + flex: 1; } }