Skip to content

Incorrect column widths in Firefox #370

@sarahemilym

Description

@sarahemilym

Is this a feature request or a bug report?
Bug report

What is the current behavior?

Expected behavior for lost-column not happening in Firefox

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

.foo { lost-column: 1/3 flex }

Result in chrome:
image

Result in Firefox:

image

Issue is solved by taking the calculated width and adding it as a max-width:

.foo { lost-column: 1/3 flex; max-width: calc(99.9% * 1/3 - 20px); }

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

8.0.0

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions