Commit 18bbe166584d9d484a17fe18a8c42fb8677fb280
1 parent
bd620f1e
fix: #121
Showing
2 changed files
with
6 additions
and
0 deletions
front-end/h5/src/components/core/editor/edit-panel/animation.js
| @@ -85,6 +85,7 @@ export default { | @@ -85,6 +85,7 @@ export default { | ||
| 85 | renderAvaiableAnimations () { | 85 | renderAvaiableAnimations () { |
| 86 | return ( | 86 | return ( |
| 87 | <a-tabs | 87 | <a-tabs |
| 88 | + class="avaiable-animations-tabs" | ||
| 88 | defaultActiveKey={firstLevelAnimationOptions[0].label} | 89 | defaultActiveKey={firstLevelAnimationOptions[0].label} |
| 89 | onChange={tab => {}} | 90 | onChange={tab => {}} |
| 90 | style="width:100%;" | 91 | style="width:100%;" |
front-end/h5/src/components/core/styles/index.scss
| @@ -56,6 +56,11 @@ | @@ -56,6 +56,11 @@ | ||
| 56 | padding: 12px 0 !important; | 56 | padding: 12px 0 !important; |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | + | ||
| 60 | +.avaiable-animations-tabs .ant-tabs-nav .ant-tabs-tab { | ||
| 61 | + padding: 12px 16px !important; | ||
| 62 | +} | ||
| 63 | + | ||
| 59 | // 动画编辑面板定制 | 64 | // 动画编辑面板定制 |
| 60 | #animation-edit-panel { | 65 | #animation-edit-panel { |
| 61 | .ant-collapse-header { | 66 | .ant-collapse-header { |