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

Fix: bolt-list inset prop twig logic #948

Merged
merged 1 commit into from
Nov 20, 2018

Conversation

mikemai2awesome
Copy link
Collaborator

Jira

N/A

Summary

Fixes an issue with the bolt-list's inset prop not rendering correctly.

Details

The twig logic for the boolean inset prop was not written correctly. It has been updated with our latest convention on how to handle boolean values.

How to test

Run the branch locally and navigate to the bolt-list's inset demo pages, make sure the spacing is correct, and the class .c-bolt-list--inset is added to any .c-bolt-list with inset turned on.

@bolt-bot
Copy link
Collaborator

bolt-bot commented Nov 9, 2018

⚡ PR built on Travis and deployed a now preview here:

Copy link
Contributor

@sghoweri sghoweri left a comment

Choose a reason for hiding this comment

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

Looks good - thanks @mikemai2awesome!

@sghoweri sghoweri merged commit 512029e into master Nov 20, 2018
@sghoweri sghoweri deleted the fix/bolt-list-inset-prop-logic branch November 20, 2018 13:02
Copy link
Collaborator

@remydenton remydenton left a comment

Choose a reason for hiding this comment

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

belated +1, this is a good example of how to handle booleans.

@sghoweri sghoweri mentioned this pull request Jan 8, 2019
adamszalapski added a commit that referenced this pull request Jan 24, 2019
affects: @bolt/components-ol, @bolt/components-ul

ISSUES CLOSED: #948, #949
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.

4 participants