Update files

This commit is contained in:
Mohamed Boudra
2026-02-04 13:04:45 +07:00
parent 1f895e0e8d
commit b9464e5bd3
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
export function getCodeInsets(theme: any) {
const paddingX = theme.spacing[3] + theme.spacing[2];
const paddingY = theme.spacing[1];
const currentHorizontal = theme.spacing[3] + theme.spacing[2];
const padding =
typeof theme.spacing?.[4] === "number" ? theme.spacing[4] : currentHorizontal;
const extraRight = theme.spacing[4];
const extraBottom = theme.spacing[3];
return { paddingX, paddingY, extraRight, extraBottom };
return { padding, extraRight, extraBottom };
}