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

feat(Table): add vertical alignment #91

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Conversation

Vladeeg
Copy link
Contributor

@Vladeeg Vladeeg commented Dec 13, 2024

This PR adds vertical alignment for table body rows just like in the uikit's table: https://preview.gravity-ui.com/uikit/?path=/story/components-data-display-table--default.

As for my investigation, horizontal alignment requires many wrappers for tanstack's types, so I suggest to implement it in another PR

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@Vladeeg
Copy link
Contributor Author

Vladeeg commented Dec 16, 2024

Also it might be a good idea to make verticalAlign: 'top' default?

src/components/Table/Table.scss Outdated Show resolved Hide resolved
src/components/Table/Table.scss Outdated Show resolved Hide resolved
@Vladeeg Vladeeg force-pushed the feat/vertical-alignment branch from 7663ad1 to da12f1b Compare January 21, 2025 10:09
@Vladeeg Vladeeg force-pushed the feat/vertical-alignment branch from da12f1b to c071cb7 Compare January 21, 2025 10:10
@beliarh beliarh merged commit c301252 into main Jan 21, 2025
3 checks passed
@beliarh beliarh deleted the feat/vertical-alignment branch January 21, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants