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

What do the two whitespace mixins do, and how do I keep my text from crunching? #30

Closed
btn0s opened this issue Aug 2, 2016 · 2 comments

Comments

@btn0s
Copy link

btn0s commented Aug 2, 2016

I might have set things up wrong but I'm getting an issue with the setupwhitespace mixin making all my inline-block items and all my text collapse on top of itself, as seen below.

capture

I'm just wondering what I need to do to avoid this? I'm using @extend to pull the styles from reflex.scss... would that be the issue?

@dmoojunk
Copy link

dmoojunk commented Aug 2, 2016

I would think the issue is that you have content inside a grid, but not inside a column.

<div class="grid">
    <!--Your content should not be here-->
    <div class="grid__col-12">
        <!-- Should be here -->
    </div>
</div>

@leejordan
Copy link
Owner

For the inline block fallback I'm using a letter spacing hack to ensure grid consistency. It means that if you don't follow the grid, the letter-spacing never gets set back to it's correct value. There's more info here: #22

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

3 participants