react-socks icon indicating copy to clipboard operation
react-socks copied to clipboard

Styling on Mobile in build is lost

Open joebentaylor opened this issue 6 years ago • 5 comments

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 avatar Jun 21 '19 15:06 joebentaylor

It also seems to ignore the div component that card is

joebentaylor avatar Jun 21 '19 15:06 joebentaylor

same, any solutions for that?

imOscarCrespo avatar Sep 17 '19 08:09 imOscarCrespo

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

MikeBroders avatar Oct 10 '19 09:10 MikeBroders

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

MikeBroders avatar Oct 10 '19 10:10 MikeBroders

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

codexpert avatar Oct 20 '19 06:10 codexpert