aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-18 01:04:51 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-18 01:04:51 +0800
commit8d76053210764d9337d2d477791badb40967e071 (patch)
tree3d19018b9504b6103816d76be9c91e03df020607
parentb7d8362fb14a1e80bfa794fdc261004bc3d96f93 (diff)
downloaddexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.tar
dexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.tar.gz
dexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.tar.bz2
dexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.tar.lz
dexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.tar.xz
dexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.tar.zst
dexon-sol-tools-8d76053210764d9337d2d477791badb40967e071.zip
Fix default margin
-rw-r--r--packages/website/ts/@next/constants/utilities.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/constants/utilities.tsx b/packages/website/ts/@next/constants/utilities.tsx
index 685b9e6f9..0d626c91b 100644
--- a/packages/website/ts/@next/constants/utilities.tsx
+++ b/packages/website/ts/@next/constants/utilities.tsx
@@ -13,7 +13,7 @@ export const PADDING_SIZES: PaddingSizes = {
'small': '15px',
};
-export const getCSSPadding = (value: number | Array<string | number>): string => {
+export const getCSSPadding = (value: number | Array<string | number> = 0): string => {
if (Array.isArray(value)) {
return value.map(val => PADDING_SIZES[val] || `${val}px`).join(' ');
} else {