Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

IE11: align-items calculate baseline as bottom of table inside flex item #268

Open
ihorzenich opened this issue Mar 20, 2019 · 0 comments
Open

Comments

@ihorzenich
Copy link

ihorzenich commented Mar 20, 2019

Demo: https://codepen.io/ihorzenich/pen/ywxWZm

In a flex container, I have two bits of content: table and div. I wish to line up the baseline of the top lines of both sides. I've turned to align-items: baseline to achieve this, but unfortunately, it doesn't work in IE10-11, because it take table bottom as baseline.

All other browsers (including Edge) work well.

Workaround: replace table with inline-table and wrap it into other flex-item <div> (but keep in mind that the overflow: auto will not work for inline-table).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant