Skip to content

Commit

Permalink
Update suggestion, .changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
k-parihar committed Dec 22, 2024
1 parent 81718c5 commit 7ef5a22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .changeset/neat-spies-add.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@razorpay/blade': major
'@razorpay/blade': patch
---

"DatePicker range icon's margin top fixed"
fix(blade): DatePicker range icon's alignment
8 changes: 0 additions & 8 deletions packages/blade/src/components/DatePicker/DateInput.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,6 @@ const _DatePickerInput = (
<BaseBox flexShrink={0} alignSelf="center">
<ArrowRightIcon
size="medium"
// marginTop={
// // Hacky layouting because the we cannot put this inside the internal layout of BaseInput.
// hasLabel && (!isLabelPositionLeft || isMobile)
// ? `calc(${makeSize(iconVerticalMargin[size])} + ${makeSize(
// isLarge ? sizeTokens[20] : sizeTokens[15],
// )})`
// : makeSize(iconVerticalMargin[size])
// }
marginTop={
// Label present ? add label height : remove label height; align basebox to center
hasLabel && (!isLabelPositionLeft || isMobile)
Expand Down

0 comments on commit 7ef5a22

Please sign in to comment.