Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Enforces 1024px min-width for settingsPage #231

Merged
merged 1 commit into from
Oct 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/features/rewards/settingsPage/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports[`WelcomePage tests basic tests matches the snapshot 1`] = `
.c0 {
background: #f2f4f7;
min-height: 100vh;
width: 100%;
min-width: 1024px;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This enforces the same behavior on the desktop welcome page, which seems desirable as we use the same SettingsPage component. This will not however, do so for the mobile welcome page, as it does not render inside the SettingsPage component.

font-family: "Poppins",sans-serif;
}

Expand Down