sapper-postcss-tailwind-rollup icon indicating copy to clipboard operation
sapper-postcss-tailwind-rollup copied to clipboard

CSS different from sapper

Open ghost opened this issue 6 years ago • 1 comments

The css template does not behave the same as in the original sapper package. Borat As you can see in the screen capture, Borat is not centered anymore.

ghost avatar Aug 20 '19 08:08 ghost

I think this is due to tailwind using normalize. If you change the margin in the css for the img element in src/routes.index.svelte to

margin: 0 auto;

that should put Borat back in his rightful place!

colinf avatar Sep 27 '19 13:09 colinf