Commit 14a56d63 authored by 田翔's avatar 田翔

fix: 增加滚动条

parent c5b13cca
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "4.2.5", "version": "4.2.6",
"description": "4.2.5 增加内边距", "description": "4.2.6 增加滚动条",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -35,6 +35,22 @@ body #app { ...@@ -35,6 +35,22 @@ body #app {
.@{ant-prefix}-spin-container { .@{ant-prefix}-spin-container {
height: 100%; height: 100%;
overflow: auto; overflow: auto;
&::-webkit-scrollbar {
width: 6px;
/*竖向滚动条的宽度*/
height: 6px;
/*横向滚动条的高度*/
}
&::-webkit-scrollbar-thumb {
/*滚动条里面的小方块*/
background: #c8c8c8;
border-radius: 3px;
}
&::-webkit-scrollbar-track {
/*滚动条轨道的样式*/
background: #fff;
border-radius: 3px;
}
} }
} }
.@{ant-prefix}-spin-spinning { .@{ant-prefix}-spin-spinning {
......
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