Skip to content

Commit

Permalink
fix: update varTreeNode style (#69)
Browse files Browse the repository at this point in the history
Co-authored-by: wwsun <ww.sww@outlook.com>
  • Loading branch information
wwsun and wwsun committed Nov 23, 2023
1 parent fb26540 commit f604996
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/playground/src/mock/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,13 @@ import { defineServices } from '@music163/tango-boot';
import './sub';
export default defineServices({
longLongLongLongLongLongLongLongGet: {
url: 'https://nei.hz.netease.com/api/apimock-v2/cc974ffbaa7a85c77f30e4ce67deb67f/api/getUserProfile',
formatter: res => res.data,
headers: {
'Content-Type': 'application/json',
}
},
get: {
url: 'https://nei.hz.netease.com/api/apimock-v2/cc974ffbaa7a85c77f30e4ce67deb67f/api/getUserProfile',
formatter: res => res.data,
Expand Down
4 changes: 4 additions & 0 deletions packages/designer/src/components/variable-tree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ const varTreeStyle = css`
font-family: Consolas, Menlo, Courier, monospace;
}
.ant-tree-node-content-wrapper.ant-tree-node-content-wrapper-normal {
width: calc(100% - 50px);
}
.ant-tree .ant-tree-treenode {
padding: 0;
}
Expand Down

0 comments on commit f604996

Please sign in to comment.