FEATURE: Column width dynamically set based on heading length
This commit is contained in:
parent
05cd2ada7e
commit
4bbb3a9647
|
@ -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,
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue