mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix(style): adjust schema initializer item content margin
This commit is contained in:
parent
cdcea99e30
commit
b3ca45b5b0
@ -52,7 +52,8 @@ export const useSchemaInitializerStyles = genStyleHook('nb-schema-initializer',
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
[`${componentCls}-item-content`]: {
|
[`${componentCls}-item-content`]: {
|
||||||
marginLeft: token.marginXS,
|
// 相当于 Menu 的 iconMarginInlineEnd,参见:https://github.com/ant-design/ant-design/blob/6a62d9e7eaf3e683c673091e39fe65ba3204d94b/components/menu/style/index.ts#L942
|
||||||
|
marginLeft: token.controlHeightSM - token.fontSize,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user