Skip to content

Lost-column/waffle float:right to last cycle unexpected outcome #328

@akoury

Description

@akoury

Is this a feature request or a bug report?

Bug Report

What is the current behavior?

Regarding issue #200 which was solved in pull request #218 , a float:right was added to the last cycle of a column/waffle, which leads to a wrong display of elements

If it's a bug please provide the steps to reproduce it and maybe some code samples.

Just add any number of elements in a view, place a "lost-column: 1/4 2" (or a lost-waffle, with a cycle smaller than the denominator) and look at the outcome, the second "column" of elements gets pushed to the right side of the screen due to the float, instead of leaving the space that was specified in the 2nd cycle. This worked perfectly in versions prior to 6.7.0.

What is the behavior that you expect?

The behaviour present before 6.7.0, in which cycles dont get pushed to the right

What's the motivation or use-case behind changing the behavior?

Restore this great grid system's behaviour

What version of LostGrid, browser and browser version are affected by this issue? Did this happen in previous versions?

I checked it in Safari and Chrome on Mac, It did not happen before 6.7.0.

Anything else?
If this was done on purpose and you just wanted to change the way the grid works, then dont mind me (I just think that it was better before).

This is my html/scss

screen shot 2016-09-27 at 8 44 21 pm

This is the outcome

screen shot 2016-09-27 at 8 38 19 pm

If i remove the float:right to the last cycle, this happens (what i believe should happen)

screen shot 2016-09-27 at 8 38 48 pm

I am not doing a pull request myself removing the float:right from the source because that would simply re-open issue #200

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions