aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-11-30 21:41:43 +0800
committerFred Carlsen <fred@sjelfull.no>2018-11-30 22:09:57 +0800
commit315584ef514caef55d1fb2e82c464d19fd193db5 (patch)
tree2747170c6572c3161dad834c354b6a4801424d57 /packages/website/ts/@next
parent57e539ed41af9a5a0f8d8e2454c7b45c1b4c2986 (diff)
downloaddexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.tar
dexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.tar.gz
dexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.tar.bz2
dexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.tar.lz
dexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.tar.xz
dexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.tar.zst
dexon-sol-tools-315584ef514caef55d1fb2e82c464d19fd193db5.zip
Contain images
Diffstat (limited to 'packages/website/ts/@next')
-rw-r--r--packages/website/ts/@next/constants/globalStyle.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/website/ts/@next/constants/globalStyle.tsx b/packages/website/ts/@next/constants/globalStyle.tsx
index a7dd3418d..d33a8e68c 100644
--- a/packages/website/ts/@next/constants/globalStyle.tsx
+++ b/packages/website/ts/@next/constants/globalStyle.tsx
@@ -44,6 +44,11 @@ const GlobalStyles = createGlobalStyle `
overflow: hidden;
}
+ img {
+ max-width: 100%;
+ object-fit: contain;
+ }
+
p {
font-size: 1rem;
line-height: 1.444444444em; // 26px