Update files

This commit is contained in:
Mohamed Boudra
2026-02-04 13:11:09 +07:00
parent b9464e5bd3
commit c73f210b9e
3 changed files with 27 additions and 16 deletions
+5 -2
View File
@@ -1,7 +1,10 @@
export function getCodeInsets(theme: any) {
const currentHorizontal = theme.spacing[3] + theme.spacing[2];
const padding =
typeof theme.spacing?.[4] === "number" ? theme.spacing[4] : currentHorizontal;
typeof theme.spacing?.[3] === "number"
? theme.spacing[3]
: typeof theme.spacing?.[4] === "number"
? theme.spacing[4]
: 12;
const extraRight = theme.spacing[4];
const extraBottom = theme.spacing[3];