Skip to content

Commit

Permalink
fix(table): tsortable-head-cell text-align (#1348)
Browse files Browse the repository at this point in the history
* fix(table): tsortable-head-cell text-align

* Create strange-vans-own.md
  • Loading branch information
reme3d2y authored Sep 4, 2024
1 parent 88d33e2 commit d30b56f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strange-vans-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alfalab/core-components-table": patch
---

Исправлено выравнивание текста для TSortableHeadCell
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const TSortableHeadCell = ({
}, [defaultIsSortedDesc, isSortedDesc]);

return (
<THeadCell className={className} {...restProps}>
<THeadCell className={className} textAlign={textAlign} {...restProps}>
<div className={cn(styles.content, { [styles.reverse]: textAlign === 'right' })}>
{children}
<SortIcon
Expand Down

0 comments on commit d30b56f

Please sign in to comment.