Why layout is float based, not flexbox based?

(Ionuț Staicu) #1

I’ve noticed that most layout is based on floats (e.g. header, nav pill etc) and all spacing is aligned via margins.

Considering that flexbox support is roughly the same as Discourse (i.e. IE10+), I wonder what are the reasons behind the decision to use one ove the other.

(Sam Saffron) #2

The reason is historical. We originally shipped with ghetto IE8 support.

(Ionuț Staicu) #3

Ohhhhh, I see. Any plan of refactoring to flex?

Or that’s set in stone? :smiley:

(Sam Saffron) #4

Nothing is set in stone, recently we redid the composer in flex we may get to the rest of the app at some point in time.

(Jeff Atwood) #5

Not sure this is correct, I don’t think we ever shipped with IE8 support, but IE9.