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

fix(table-semantic): remove padding-right from sortable columns #5281

Closed
wants to merge 2 commits into from

Conversation

leyanlo
Copy link
Collaborator

@leyanlo leyanlo commented Apr 21, 2023

This should help us with data-dense tables, where we have many columns that need to fit on a page.

- Remove padding-right from sortable columns to match documentation: https://base.uber.com/6d2425e9f/p/901301-data-table/t/4633ea
- Avoid right-aligning text for numeric columns to match documentation.
- Add `background: inherit` to sort icon so it appears in front of text to match documentation.

This should help us with data-dense tables, where we have many columns that need to fit on a page.
@vercel
Copy link

vercel bot commented Apr 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
baseweb ❌ Failed (Inspect) Apr 21, 2023 2:01am
baseweb-wl9a ❌ Failed (Inspect) Apr 21, 2023 2:01am

@cloudflare-pages
Copy link

cloudflare-pages bot commented Apr 21, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f12b23e
Status:🚫  Build failed.

View logs

@leyanlo
Copy link
Collaborator Author

leyanlo commented Apr 24, 2023

Moving to web-code

@leyanlo leyanlo closed this Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant