inputs
inputs copied to clipboard
Table column widths ignored when scrolled down
I have a Table that has the width set like below. When the data is scrolled down to show more data the width: set is ignored and set to the width of the content.
columns: ['title', "budget", "revenue"],
width: {
title:80,
budget:75,
revenus:50
}
})
https://observablehq.com/d/1c8e433aa1faacd5
I expected the width I set to be locked in.
The width style is getting set correctly, it’s just the browser is ignoring it because the content is too big. I guess maybe we have to provide a way to set the max-width style, too?