I
I
inkShio2020-07-08 12:44:46
css
inkShio, 2020-07-08 12:44:46

What could be the problem with structure on flexbox?

On the codepen, what I need and works ok, but if you uncomment the contents of the blocks, the sidebar immediately flies down, I can’t understand why.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
inkShio, 2020-07-10
@inkShio

Suggested on another site.
For .list__content
Option 1

width: calc(100% - 200px);
max-width: 76.92308%;

Option 2
width: min-content;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question