Commit dc36a3ff3d63c53e8285e88f8321ca13f53d9cb2
1 parent
c2fb86d5
优化竖滚动条
Signed-off-by: TanYibin <5491541@qq.com>
Showing
1 changed file
with
9 additions
and
0 deletions
ant-design-vue-jeecg/src/App.vue
... | ... | @@ -37,6 +37,15 @@ export default { |
37 | 37 | } |
38 | 38 | </script> |
39 | 39 | <style> |
40 | +::-webkit-scrollbar { | |
41 | + width: 0; /* 设置竖向滚动条宽度为 0 */ | |
42 | + overflow-y: hidden; | |
43 | + overflow-x: auto; | |
44 | +} | |
45 | +#app::-webkit-scrollbar { | |
46 | + overflow-y: auto; | |
47 | + overflow-x: auto; | |
48 | +} | |
40 | 49 | #app { |
41 | 50 | height: 100%; |
42 | 51 | } |
... | ... |