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]: Right padding introduced in DataTable in 0.40 #2952

Open
andreas-horde opened this issue Dec 22, 2024 · 0 comments
Open

[Bug]: Right padding introduced in DataTable in 0.40 #2952

andreas-horde opened this issue Dec 22, 2024 · 0 comments
Labels
bug Something isn't working to-review Evidence team to review

Comments

@andreas-horde
Copy link

Describe the bug

In 0.40, the DataTable has introduced some padding to the right of all cells in the DataTable component. This is especially prominent in compact mode, and makes alignment seem off. See screenshot of before 0.40 and after 0.40, using the same data and config (These columns are center aligned):

Image Image

Steps to Reproduce

Create a DataTable with compact=true, and set align=right. You will see unnecesarry padding to the right in the columns.

Logs

System Info

Severity

annoyance

Additional Information, or Workarounds

Possible workaround could be to change the format string of the column to include a space padding to the left of the string

@andreas-horde andreas-horde added bug Something isn't working to-review Evidence team to review labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to-review Evidence team to review
Projects
None yet
Development

No branches or pull requests

1 participant