From 315584ef514caef55d1fb2e82c464d19fd193db5 Mon Sep 17 00:00:00 2001
From: Fred Carlsen <fred@sjelfull.no>
Date: Fri, 30 Nov 2018 14:41:43 +0100
Subject: Contain images

---
 packages/website/ts/@next/constants/globalStyle.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'packages/website/ts/@next/constants/globalStyle.tsx')

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
-- 
cgit v1.2.3

