Commit 5682c35a authored by Kent Nielsen's avatar Kent Nielsen
Browse files

Col now fill the space they want, and row height adapt so no overflow

parent a44b2965
Pipeline #52233 passed with stage
in 40 seconds
......@@ -142,13 +142,13 @@ export default {
for (let j = 0; j < cols.length; j++) {
const col = cols[j];
if(winWidth < 992){
col.style.flexGrow = 1;
col.style.flexGrow = 0;
}else{
col.style.flexGrow = this.layout[i].blocks[j].width;
}
}
if(winWidth < 992){
row.style.height = 300*this.layout[i].blocks.length + 'px';
row.style.height = 'auto';
}else{
row.style.height = this.layout[i].height + 'px';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment