Skip to content

Conversation

r0m4n
Copy link

@r0m4n r0m4n commented Jul 21, 2023

When text breaks onto multiple lines in a mat-table column header, the text-align:centerstyle
creates an inconsistency in the way the text is aligned vs other column headers. This issue
only occurs on sortable columns. It appears left aligned in all other scenarios because of how
the containers are nested.
A sample screenshot of the inconsistency:
5nmnRg6wns2hdXf
Live example of the inconsistency:
https://stackblitz.com/edit/cdpzsf?file=src%2Fexample%2Ftable-basic-example.html

@r0m4n r0m4n requested a review from andrewseguin as a code owner July 21, 2023 21:26
@andrewseguin andrewseguin added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Aug 5, 2023
@andrewseguin andrewseguin self-assigned this Aug 5, 2023
@andrewseguin
Copy link
Contributor

This was merged with #30198

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants