From 3035b83e15e1cd2a104834dcd454bd6835d86e4a Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 1 Feb 2018 14:23:59 +0800 Subject: [PATCH] fix --- examples/components/demo.vue | 20 ++++++++++++-------- examples/components/header.vue | 24 ++++++++++++++++++++++++ examples/index.less | 14 ++++++++++++++ 3 files changed, 50 insertions(+), 8 deletions(-) create mode 100644 examples/components/header.vue 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; } }