Re: [csswg-drafts] [css-multicol] Shouldn't column-fill: auto take min-height into account? (#3064)

I'd just like to chime-in here and say that as a dev while I prefer the way that Firefox currently handles this I'd rather not have to set max-height to get columns to wrap. Most of the sites I work on being designed for less tech-savvy people, for me, the ideal situation would be that if I could set the styles on the container to something like:
column-count: 4;
column-fill: auto
min-height: 20em;

and any content would:

1. Fill a single column starting from the first until it reaches the min-height value.
2. Start filling the next column as soon as the current column has reached 20em.
3. Start balancing as soon as all 4 columns have reached min-height.

That way if the client only pastes in two sentences it will only fill 1 column. Or if they happen to insert the complete works of Shakespeare it will have 4 balanced columns without overflowing the container.

My only worry with having additional columns only start to fill when max-height has been reached will be that if the container happens to have a novels worth of text in it you'll get serious layout problems for anything following it and if no max-height is set all text will be forced into one very tall column.

Hopefully that makes sense, and if I have simply misunderstood the conversation so far and that is what has already been decided upon feel free to ignore me!

GitHub Notification of comment by BezPowell
Please view or discuss this issue at using your GitHub account

Received on Monday, 11 March 2019 18:35:04 UTC