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

CSS different from sapper #5

Open
RudySchockaert-EngieIT opened this issue Aug 20, 2019 · 1 comment
Open

CSS different from sapper #5

RudySchockaert-EngieIT opened this issue Aug 20, 2019 · 1 comment

Comments

@RudySchockaert-EngieIT
Copy link

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.

@colinf
Copy link

colinf commented Sep 27, 2019

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!

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

2 participants