Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(tree-menu,skeleton): [tree-menu,skeleton] modify testing issues #2410

Merged
merged 1 commit into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/sites/demos/pc/app/fullscreen/webdoc/fullscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export default {
'en-US': 'Component Use'
},
desc: {
'zh-CN': '详细用法参考如下示例',
'en-US': 'For details, see the following example.'
'zh-CN': '组件式使用详细用法参考如下示例',
'en-US': 'For detailed usage of component-based usage, please refer to the following example.'
},
codeFiles: ['example-component.vue']
},
Expand All @@ -21,8 +21,8 @@ export default {
'en-US': 'Functional use'
},
desc: {
'zh-CN': '详细用法参考如下示例',
'en-US': 'For details, see the following example.'
'zh-CN': '函数式使用详细用法参考如下示例',
'en-US': 'For detailed usage of functional expressions, please refer to the following example.'
},
codeFiles: ['example-api.vue']
},
Expand Down
1 change: 1 addition & 0 deletions packages/theme/src/skeleton-item/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
border-radius: var(--tv-SkeletonItem-border-radius);

&--square {
margin-bottom: 12px;
width: 100%;
height: var(--tv-SkeletonItem-square-height);
}
Expand Down
3 changes: 1 addition & 2 deletions packages/theme/src/tree-menu/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
}

&.is-expand {
width: 40px;
width: 36px;
.@{tree-menu-prefix-cls}__toggle-button {
transform: translateX(70%) translateY(-50%);

Expand Down Expand Up @@ -203,7 +203,6 @@
}

.tree-node-name {
display: flex;
align-items: center;
padding: 0 var(--tv-TreeMenu-node-body-text-padding-x);

Expand Down
Loading