Consider the following code snippet:
<style>
.v {
display: flex;
flex-direction: column;
overflow-y: scroll;
height: 100%;
}
.e {
height: 100px;
width: 200px;
}
.q {
overflow: hidden;
height: 500px;
}
</style>
<div class="q">
<div class="v">
<div class="e">hello1</div>
<div class="e">hello2</div>
<div class="e">hello1</div>
<div class="e">hello1</div>
<div class="e">hello2</div>
<div class="e">hello1</div>
<div class="e">hello2</div>
<div class="e">hello1</div>
<div class="e">hello2</div>
<div class="e">hello1</div>
<div class="e">hello2</div>
<div class="e">hello1</div>
<div class="e">hello2</div>
<div class="e">hello1</div>
<div class="e">hello2</div>
</div>
<div>
The divs are not full height, despite having height: 100px
.
How would I make the divs be full height?
Note, this snippet looks different locally, but the issue is the same (the divs are not full height).