mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 20:25:08 +00:00

If total max columns width (grid_max) is zero then available width should be divided equally between columns. Previously there was division by zero: `column.max_width / grid_max`.
15 lines
No EOL
208 B
HTML
15 lines
No EOL
208 B
HTML
<style>
|
|
.table {
|
|
display: table;
|
|
width: 200px;
|
|
}
|
|
|
|
.row {
|
|
display: table-row;
|
|
}
|
|
|
|
.cell {
|
|
display: table-cell;
|
|
}
|
|
</style>
|
|
<div class="table"><div class="row"><div class="cell"></div></div></div> |