wrap-table-header see if this works
wrap-table-header
https://developer.salesforce.com/docs/component-library/bundle/lightning-datatable/specification