Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Bemify CSS #6

Merged
merged 11 commits into from
Mar 10, 2019
Merged

Bemify CSS #6

merged 11 commits into from
Mar 10, 2019

Conversation

jonnyscholes
Copy link
Contributor

@jonnyscholes jonnyscholes commented Mar 7, 2019

I've left some more detailed notes in #4 on what specific issues this PR addresses and some of the deviations from the feedback I took.

There are a few components I'd prefer to have broken down further but I didn't think it was worth the (fairly significant) changes to the JS to do so. I've left comments where this was particularly apparent. However I think the CSS is much easier to parse now and is all name spaced so should mean we can iterate on changes more quickly without things breaking beneath us as much.

Commit 74548ab has work that goes with BertrandBordage/wagtail#2 to remove as much reset styling from Wagtail core.

@jonnyscholes jonnyscholes mentioned this pull request Mar 7, 2019
74 tasks
src/Block.js Outdated Show resolved Hide resolved
@@ -0,0 +1,24 @@
$grid-gutter-width: 30px;
$header-padding: 6px 8px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not possible, because $header-padding * 2 is used later in the code.
Unfortunately, SASS doesn’t handle this by multiplying both values, so the build is not working.
I’m merging this work anyway, I fixed it locally and will push the fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh odd I didn't notice that one! Thanks.

@BertrandBordage BertrandBordage merged commit 160e58b into wagtail-deprecated:master Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants