Skip to content

Commit

Permalink
Added align prop.
Browse files Browse the repository at this point in the history
  • Loading branch information
mationai committed May 26, 2021
1 parent 9e36bd9 commit 5f9a6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@
{ i: j, columnWidths, __affixedColumnIndices, __scrollLeft }
)}px; height: {rowHeight}px; line-height: {rowHeight}px; width: {
j===columnWidths.length-1 ? lastColWidth : columnWidths[j]+'px'
};"
}; {column.align ? 'text-align:'+column.align+';' : ''}"
role="cell">
{#if column.cellComponent}
<svelte:component
Expand Down

0 comments on commit 5f9a6e9

Please sign in to comment.