Skip to content

Commit

Permalink
feat(detail): update Antv home update dumi-theme-antv
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-qing-hai committed Nov 17, 2023
1 parent 429b24a commit 6e38498
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@antv/dumi-theme-antv": "0.3.20-beta.1",
"@antv/dumi-theme-antv": "0.3.20-beta.2",
"@antv/g2plot": "^2.3.1",
"@antv/g6": "3.3.7",
"@antv/knowledge": "^0.1.3-alpha.17",
Expand Down
1 change: 1 addition & 0 deletions site/components/Banner/Banner.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
.message {
&:extend(.commonFlexConfig);
min-height: 114px;
height: 140px;
width: calc((100vw - 360px - 26px) / 3);
min-width: 338px;
max-width: 551px;
Expand Down
2 changes: 1 addition & 1 deletion site/components/ThemeCharts/Charts/Graph/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function GraphChart(props: GraphProps) {
const onTick = () => {
data.nodes.forEach((node) => {
node.x = Math.min(Math.max(5, node.x), width - 10);
node.y = Math.min(Math.max(15, node.y), height - 30);
node.y = Math.min(Math.max(18, node.y), height - 36);
});
};

Expand Down
2 changes: 1 addition & 1 deletion site/data/link-charts.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"title": "散点图 (3D图表)",
"subTitle": "数据驱动,高度易用,可扩展的可视化图形语法",
"image": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*AmB_T75XevMAAAAAAAAAAAAADmJ7AQ/original",
"image": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*8LDVQoK3odIAAAAAAAAAAAAADmJ7AQ/original",
"link": "https://g2.antv.antgroup.com/examples/threed/scatter/#orthographic-projection",
"antv": "G2",
"color": "#2486FF"
Expand Down

0 comments on commit 6e38498

Please sign in to comment.