Skip to content

Commit dbf71b5

Browse files
site: use cssVar (ant-design#56381)
* test: fix master CI fail * fix: update --------- Co-authored-by: thinkasany <480968828@qq.com>
1 parent 9108b85 commit dbf71b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.dumi/theme/common/BehaviorMap/BehaviorMap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const useStyle = createStyles(({ cssVar }) => ({
2222
width: 100%;
2323
min-height: 600px;
2424
height: fit-content;
25-
background-color: #f5f5f5;
25+
background-color: ${cssVar.colorBgLayout};
2626
border: 1px solid #e8e8e8;
2727
border-radius: ${cssVar.borderRadiusLG};
2828
overflow: hidden;
@@ -54,7 +54,7 @@ const useStyle = createStyles(({ cssVar }) => ({
5454
inset-inline-end: 20px;
5555
z-index: 10;
5656
border-radius: 4px;
57-
font-size: 14px;
57+
font-size: ${cssVar.fontSize};
5858
`,
5959
mvp: css`
6060
margin-inline-end: ${cssVar.marginMD};

0 commit comments

Comments
 (0)