Commit 3c350de1 by Sendya

fix: #45 height overflow

parent 95ff7929
...@@ -44,3 +44,8 @@ ...@@ -44,3 +44,8 @@
} }
} }
</script> </script>
<style>
#app {
height: 100%;
}
</style>
\ No newline at end of file
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
</a> </a>
<a href="https://ant.design/">Ant Design</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 href="https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn/">Vue Antd</a>
<a>Antd-Vue Version@{{ version }}</a>
</div> </div>
<div class="copyright"> <div class="copyright">
Copyright Copyright
...@@ -18,12 +17,10 @@ ...@@ -18,12 +17,10 @@
</template> </template>
<script> <script>
import { version } from 'ant-design-vue'
export default { export default {
name: 'LayoutFooter', name: 'LayoutFooter',
data () { data () {
return { return {
version
} }
} }
} }
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</a-drawer> </a-drawer>
</template> </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 --> <!-- layout header -->
<global-header <global-header
:mode="layoutMode" :mode="layoutMode"
...@@ -140,8 +140,6 @@ ...@@ -140,8 +140,6 @@
} }
.layout.ant-layout { .layout.ant-layout {
height: 100%;
min-height: 100vh;
overflow-x: hidden; overflow-x: hidden;
&.mobile,&.tablet { &.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