FEATURE: Column width dynamically set based on heading length

This commit is contained in:
Keegan George 2022-07-14 10:05:27 -07:00
parent 05cd2ada7e
commit 4bbb3a9647
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};
});