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

Some changes not processed #2

Open
KayJay89 opened this issue Feb 12, 2018 · 1 comment
Open

Some changes not processed #2

KayJay89 opened this issue Feb 12, 2018 · 1 comment

Comments

@KayJay89
Copy link

KayJay89 commented Feb 12, 2018

Hi all,

I have one project up and running with Bulma-Start. However, I did find something (in my eyes) particularly weird. Some changes are just not being processed into the file.

I install everything correctly and run npm start to start watching and compiling the main.scss file into the final css file. I for example insert the below code in main.scss:

h3 { background-color: red; margin-bottom: 5em; }

The above code is inserted at the second to last line, above @import "../node_modules/bulma/bulma";, but what I notice is that the first change is processed, but the margin isn't. Is there any particular reason this is the case?

@brianloweongit
Copy link

@KayJay89 the margin you set on your H3 element is overwritten by the value set in ~/bulma/sass/base/minireset.sass (line #26). The reset doesn't interfere with your background-color.

Try moving your rule to after the @import.

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