cferdinandi / kraken

A lightweight, mobile-first boilerplate for front-end web developers.
http://cferdinandi.github.io/kraken
MIT License
806 stars 81 forks source link

Issue getting floats to work #285

Closed escapehatch closed 3 years ago

escapehatch commented 3 years ago

The .float-center and .float-right seem to no longer be working. Using floats also appears to alter width of a column. https://cferdinandi.github.io/kraken/components.html#alignment-spacing--visibility

cferdinandi commented 3 years ago

These should not be used with the grid layout.

They’re intended for use with inline elements, things like buttons or images where you want text or other elements to wrap around them.

is that how you’re using them?

escapehatch commented 3 years ago

Oh, I see. Thank you, Chris! Is there another approach you could suggest to get a column to align center on the grid?

cferdinandi commented 3 years ago

Yes, I would use the new classes for pushing grid events over one direction or another. https://cferdinandi.github.io/kraken/components.html#content-choreography

escapehatch commented 3 years ago

Thank you 😊