P
P
Polina Emelyanova2018-08-09 12:12:56
css
Polina Emelyanova, 2018-08-09 12:12:56

Why doesn't overflow-x work on a table if the parent has display: flex;?

Good afternoon, colleagues.
Please help me to solve the problem.
SUBJECT: There are several wrappers that define the grid of the site. Inside main, we need a table that, when the screen narrows, should have a scroll. But do not put the scroll! overflow-x - doesn't work!! The only option I see is display: flex; at the parent. Please help me deal with this.
https://codepen.io/emelyanova/pen/PBxyOq - code to play.
Thank you in advance.
/*please don't spread hype...*/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Polina Emelyanova, 2018-08-09
@bugo_aneo

ANSWER: Set overflow: auto; on the wrapper.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question