mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00

Fixes the issue that before we set base_size and growth_limit of collapsed tracks to 0px which still allowed them to grow by space distribution.
14 lines
No EOL
329 B
HTML
14 lines
No EOL
329 B
HTML
<style>
|
|
.container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
background-color: lightcyan;
|
|
border: 10px solid red;
|
|
}
|
|
|
|
.item {
|
|
padding: 20px;
|
|
background-color: lightgreen;
|
|
border: 10px solid papayawhip;
|
|
}
|
|
</style><div class="container"><div class="item">1</div></div> |