diff --git a/javascripts/discourse/components/spreadsheet-editor.js b/javascripts/discourse/components/spreadsheet-editor.js index 3a85dbe..abd174a 100644 --- a/javascripts/discourse/components/spreadsheet-editor.js +++ b/javascripts/discourse/components/spreadsheet-editor.js @@ -38,7 +38,7 @@ export default Component.extend({ const columns = headings.map((heading) => { return { title: heading, - width: "100", // TODO make based on string length? + width: heading.length * 15, }; });