Skip to content

Commit

Permalink
fix: fixed use of new component token in OrderIndicator
Browse files Browse the repository at this point in the history
  • Loading branch information
soslayando committed Oct 23, 2024
1 parent 6d06aac commit cad51ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/table/src/core/HeaderCell/OrderIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const OrderIndicator: React.FC<OrderIndicatorProps> = ({ colDef }) => {
`}
>
<VFlex spacing="0">
<VFlex.Item cssTranslate={`0, ${iconOffset}px`}>
<VFlex.Item cssTranslate={`0, ${iconOffset}`}>
<GISortAscCarets
color={iconColor}
size={iconSize}
Expand All @@ -39,7 +39,7 @@ export const OrderIndicator: React.FC<OrderIndicatorProps> = ({ colDef }) => {
}}
/>
</VFlex.Item>
<VFlex.Item cssTranslate={`0, -${iconOffset}px`}>
<VFlex.Item cssTranslate={`0, calc(${iconOffset} * -1)`}>
<GISortDescCarets
color={iconColor}
size={iconSize}
Expand Down

0 comments on commit cad51ac

Please sign in to comment.