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 ability to set className of all cells in a column #205

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

isqua
Copy link
Contributor

@isqua isqua commented Jun 22, 2022

Sometimes it is needed to add styles to primary column title. But It is hard to target the cell in CSS.

And I also add ability to set className of column cells.

@isqua isqua requested a review from amje as a code owner June 22, 2022 11:19
@isqua isqua changed the title fix(Table): add primary modifier to header of column feat(Table): add ability to set className of all cells in a column Jun 22, 2022
['edge-padding']: edgePadding,
})}
className={b(
'cell',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-commit hooks formatted this piece.

@yc-ui-bot
Copy link
Contributor

Preview is ready.

@amje
Copy link
Contributor

amje commented Jun 22, 2022

Thanks for submitting!

@amje amje merged commit b5e6608 into gravity-ui:main Jun 22, 2022
@isqua isqua deleted the primary-column-title branch June 23, 2022 12:07
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