Skip to content

Updates to the streamfield spacing mixin and subsequent adjustments #375

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

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

vossisboss
Copy link
Contributor

@vossisboss vossisboss commented Apr 6, 2023

The spacing between StreamField blocks was too large and making our blog pages look a little funny. I initially removed the media query in @mixin sf-spacing() but that broke the spacing around the hero areas and other elements. So I updated sf-spacing to include a variable $multiple that could be used to adjust spacing for individual elements in multiples of 25px. Then I updated all selectors that use that mixin according to the amount of space needed for each element.

I also removed a media-query the .icon-bullet selector since that needed adjustment as well.

Please let me know if there's anything I can do to improve this adjustment to the spacing.

Copy link

@estyxx estyxx left a comment

Choose a reason for hiding this comment

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

LGTM

@estyxx
Copy link

estyxx commented Apr 6, 2023

If there is any fontend dev (more experienced than me) that can have a look at this change would be nice. Otherwise seems ok to me...

@vossisboss vossisboss merged commit 5c00921 into wagtail:main Apr 6, 2023
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

Successfully merging this pull request may close these issues.

2 participants