Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
fix: make mobile actually get mobile styles (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmonline authored Jun 19, 2019
1 parent c2b139f commit 77b902b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/styles/breakpoints.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const breakpoints = {
export const breakpoints = {
// The grid is mobile first so xs is the default, hence no breakpoint
xs: false,
sm: 768,
Expand Down
4 changes: 3 additions & 1 deletion src/styles/typography.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const SMALL_DEVICE = 360;
import { breakpoints } from './breakpoints';

const SMALL_DEVICE = breakpoints.sm;

const WEIGHTS = {
regular: 400,
Expand Down

1 comment on commit 77b902b

@vercel
Copy link

@vercel vercel bot commented on 77b902b Jun 19, 2019

Choose a reason for hiding this comment

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

Please sign in to comment.