Skip to content

Commit fa1dcdd

Browse files
committed
feat: add margin for SettingItem extra element
1 parent 1da9951 commit fa1dcdd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/components/setting/mods/setting-comp.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ export const SettingItem: React.FC<ItemProps> = (props) => {
2222
) : (
2323
<Box sx={{ display: "flex", alignItems: "center" }}>
2424
<span>{label}</span>
25-
{extra}
25+
<span
26+
style={{
27+
marginLeft: "8px",
28+
}}
29+
>
30+
{extra}
31+
</span>
2632
</Box>
2733
);
2834

0 commit comments

Comments
 (0)