aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/constants
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/constants')
-rw-r--r--packages/website/ts/@next/constants/globalStyle.tsx5
-rw-r--r--packages/website/ts/@next/constants/utilities.tsx1
2 files changed, 6 insertions, 0 deletions
diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx
index fd9e67cb4..b22a5c6db 100644
--- a/packages/website/ts/@next/constants/globalStyle.tsx
+++ b/packages/website/ts/@next/constants/globalStyle.tsx
@@ -61,6 +61,11 @@ const GlobalStyles = withTheme(createGlobalStyle<GlobalStyle> `
color: inherit;
text-decoration: none;
}
+
+ svg + p,
+ img + p {
+ padding-top: 30px;
+ }
`);
export { GlobalStyles };
diff --git a/packages/website/ts/@next/constants/utilities.tsx b/packages/website/ts/@next/constants/utilities.tsx
index 7d9313583..35956c47b 100644
--- a/packages/website/ts/@next/constants/utilities.tsx
+++ b/packages/website/ts/@next/constants/utilities.tsx
@@ -9,6 +9,7 @@ interface PaddingSizes {
const PADDING_SIZES: PaddingSizes = {
'default': '30px',
'large': '60px',
+ 'small': '15px',
};
export const getCSSPadding = (value: number | Array<string | number>): string => {