A
A
Alina Brann2020-01-28 11:42:44
css
Alina Brann, 2020-01-28 11:42:44

How to force parent to accept content width?

Hello.
There is a container. scroll , it has a width set (it's limited to mobile in real life), it has a nav , and assuming it has the properties flex-wrap:wrap; flex-direction:column; you need to force it to take the width of the entire content, not the width of the .scroll. This is needed for js scrolling. Without a minimum width, the nav has not yet been able to get it to accept the width of the content, help)

https://codepen.io/alinabrann/pen/MWYRPvL

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question