From 45442bb8b2133b0501cfd42a95b3f7f95e51d93c Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 1 Feb 2018 17:07:44 +0800 Subject: [PATCH] fix chrome bug --- components/style/index.less | 1 + components/style/vue-antd.less | 6 ++++++ examples/components/demo.vue | 10 ++++------ examples/index.html | 2 ++ examples/index.less | 6 ------ 5 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 components/style/vue-antd.less diff --git a/components/style/index.less b/components/style/index.less index a33fdfc3a..8d6f79b6b 100644 --- a/components/style/index.less +++ b/components/style/index.less @@ -1,2 +1,3 @@ @import "./themes/default"; @import "./core/index"; +@import "./vue-antd"; diff --git a/components/style/vue-antd.less b/components/style/vue-antd.less new file mode 100644 index 000000000..ffc69056d --- /dev/null +++ b/components/style/vue-antd.less @@ -0,0 +1,6 @@ +html { + overflow-y: auto !important; +} +body { + position: relative !important; +} diff --git a/examples/components/demo.vue b/examples/components/demo.vue index b4654bb8a..ceef9ce93 100644 --- a/examples/components/demo.vue +++ b/examples/components/demo.vue @@ -1,8 +1,6 @@