Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling on Mobile in build is lost #20

Open
joebentaylor opened this issue Jun 21, 2019 · 5 comments
Open

Styling on Mobile in build is lost #20

joebentaylor opened this issue Jun 21, 2019 · 5 comments

Comments

@joebentaylor
Copy link

joebentaylor commented Jun 21, 2019

For some reason when i deploy my site to Netlify or with a new fresh build (Using Gatsby), the sections where I have used the plugin on mobile have no styles. The content stays, yet the styling doesnt.

Heres what it should look like (From dev)
https://ibb.co/g7NM1SS

Here's what it looking like in build
https://ibb.co/kccX19S

What can be causing this?

This is my code:

<Column key={index} small={12} large={4} mpad>
  <Breakpoint medium down>
    <Card icon={icon} heading={heading} excerpt={excerpt} />
  </Breakpoint>

  <Breakpoint large up>
    <Parallax y={[para, -para]}>
      <Card icon={icon} heading={heading} excerpt={excerpt} />
    </Parallax>
  </Breakpoint>
</Column>
@joebentaylor
Copy link
Author

It also seems to ignore the div component that card is

@imOscarCrespo
Copy link

same, any solutions for that?

@MikeBroders
Copy link

same, react-socks v. 1.0.1, will an update help?

@MikeBroders
Copy link

react-socks v. 2.1.0 also not working in gatsby build

@codexpert
Copy link

same problem with Gatsby build. development mood seems fine but lost everything on build time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants