Commit 3c350de1 by Sendya

fix: #45 height overflow

parent 95ff7929
......@@ -44,3 +44,8 @@
}
}
</script>
<style>
#app {
height: 100%;
}
</style>
\ No newline at end of file
......@@ -7,7 +7,6 @@
</a>
<a href="https://ant.design/">Ant Design</a>
<a href="https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn/">Vue Antd</a>
<a>Antd-Vue Version@{{ version }}</a>
</div>
<div class="copyright">
Copyright
......@@ -18,12 +17,10 @@
</template>
<script>
import { version } from 'ant-design-vue'
export default {
name: 'LayoutFooter',
data () {
return {
version
}
}
}
......
......@@ -47,7 +47,7 @@
</a-drawer>
</template>
<a-layout :class="[layoutMode, `content-width-${contentWidth}`]" :style="{ paddingLeft: fixSiderbar && isDesktop() ? `${sidebarOpened ? 256 : 80}px` : '0' }">
<a-layout :class="[layoutMode, `content-width-${contentWidth}`]" :style="{ paddingLeft: fixSiderbar && isDesktop() ? `${sidebarOpened ? 256 : 80}px` : '0', minHeight: '100vh' }">
<!-- layout header -->
<global-header
:mode="layoutMode"
......@@ -140,8 +140,6 @@
}
.layout.ant-layout {
height: 100%;
min-height: 100vh;
overflow-x: hidden;
&.mobile,&.tablet {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment