Html – Why is flex-basis: 0 needed for scrollable flex item?
I created this snippet .wrapper { position: fixed; inset: 0; display: flex; justify-content: center; padding-top: 15px; padding-bottom: 15px } .modal { width: 300px; display: flex; flex-direction: column; } .container { flex: 1; display: flex; flex-direction: column; } .footer { height:…