From 17289c058bb9337e5f47515d0b068c9b0086307b Mon Sep 17 00:00:00 2001 From: ryanml Date: Mon, 22 Oct 2018 18:13:08 -0700 Subject: [PATCH] Fixes #230, enforces 1024px min-width for settingsPage --- src/features/rewards/settingsPage/__snapshots__/spec.tsx.snap | 2 +- src/features/rewards/settingsPage/style.ts | 2 +- src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/features/rewards/settingsPage/__snapshots__/spec.tsx.snap b/src/features/rewards/settingsPage/__snapshots__/spec.tsx.snap index 6caf03833..294226a4a 100644 --- a/src/features/rewards/settingsPage/__snapshots__/spec.tsx.snap +++ b/src/features/rewards/settingsPage/__snapshots__/spec.tsx.snap @@ -4,7 +4,7 @@ exports[`SettingsPage tests basic tests matches the snapshot 1`] = ` .c0 { background: #f2f4f7; min-height: 100vh; - width: 100%; + min-width: 1024px; font-family: "Poppins",sans-serif; } diff --git a/src/features/rewards/settingsPage/style.ts b/src/features/rewards/settingsPage/style.ts index 7f7e54929..ba0841ebe 100644 --- a/src/features/rewards/settingsPage/style.ts +++ b/src/features/rewards/settingsPage/style.ts @@ -7,7 +7,7 @@ import styled from 'styled-components' export const StyledWrapper = styled<{}, 'div'>('div')` background: #f2f4f7; min-height: 100vh; - width: 100%; + min-width: 1024px; font-family: "Poppins", sans-serif ` diff --git a/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap b/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap index 409e5ee72..916a42405 100644 --- a/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap +++ b/src/features/rewards/welcomePage/__snapshots__/spec.tsx.snap @@ -15,7 +15,7 @@ exports[`WelcomePage tests basic tests matches the snapshot 1`] = ` .c0 { background: #f2f4f7; min-height: 100vh; - width: 100%; + min-width: 1024px; font-family: "Poppins",sans-serif; }