Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Table alignments not working on individual cells #112

Closed
daniel-sc opened this issue Jul 18, 2019 · 0 comments · Fixed by #113
Closed

Bug: Table alignments not working on individual cells #112

daniel-sc opened this issue Jul 18, 2019 · 0 comments · Fixed by #113
Assignees
Labels
bug Something isn't working

Comments

@daniel-sc
Copy link
Contributor

Describe the bug
The classes for alignment of table cells/rows/cols (sbb-table-align-center etc.) do not work on individual cells any more. This was working before and is documented: "You can use it in a single tr, th, td tag the alignment classes: sbb-table-align-center | sbb-table-align-left | sbb-table-align-right. In this example it has been used sbb-table-align-right to fix the text alignment of the last column to right." (see https://angular.app.sbb.ch/latest/content/table)

To Reproduce
See "Example" on https://angular.app.sbb.ch/latest/content/table - there the last column should always be aligned right, but instead follows the overall alignment for the whole table.

Expected behavior
The classes (sbb-table-align-center etc.) should work on individual cells (th, td) to be able to overwrite the alignment for specific columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants