Skip to content

Commit

Permalink
Feat move expandable card to bottom of the card (#502)
Browse files Browse the repository at this point in the history
* style(card): make expandable icon apear at the bottom of the card instead of bottom-right

* new build
  • Loading branch information
ehsan-github authored Sep 6, 2023
1 parent b44ae4e commit 2212071
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7814,7 +7814,7 @@ const yn = ({ primary: t, sx: e, ...n }) => /* @__PURE__ */ h.jsx(
{
icon: c ? ze.arrow_up : ze.arrow_down,
onClick: u,
sx: { cursor: "pointer", mr: "-31px" }
sx: { cursor: "pointer", mb: "-31px" }
}
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Card = ({
<IconButton
icon={expanded ? IconName.arrow_up : IconName.arrow_down}
onClick={toggleExpanded}
sx={{ cursor: 'pointer', mr: '-31px' }}
sx={{ cursor: 'pointer', mb: '-31px' }}
/>
</Flex>
)}
Expand Down

0 comments on commit 2212071

Please sign in to comment.