Skip to content

Commit

Permalink
ui: button default to h-9;
Browse files Browse the repository at this point in the history
cmmc: minor change to carousel-buy-card
  • Loading branch information
artemis-prime committed May 28, 2024
1 parent ac45c7f commit 5c4f956
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"pnpm": {
"overrides": {
"react": "^18.3.1",
"@types/react": "^18.3.2"
"@types/react": "^18.3.2",
"react-hook-form": "7.51.4"

}
}
}
2 changes: 1 addition & 1 deletion packages/commerce/components/buy/carousel-buy-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ const CarouselBuyCard: React.FC<{
return (
<div className={cn(
'px-4 md:px-6 pt-3 pb-4 flex flex-col gap-1 items-center',
r.current?.single?.scrollable ? SCROLL.scrollHeightClx : 'h-auto',
clx,
r.current?.single?.scrollable ? SCROLL.scrollHeightClx : 'h-auto'
)}>
{r.current?.single ? (
<SingleFamilySelector
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/primitives/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const size = {
link: '',
xs: "h-8 px-2 text-xs",
sm: "h-9 px-3 text-xs",
square: 'h-10 py-2 px-2 text-sm aspect-square',
default: "h-10 py-2 px-4 text-sm md:text-base font-semibold min-w-0",
square: 'h-9 py-2 px-2 text-sm aspect-square',
default: "h-9 py-2 px-4 text-sm md:text-base font-semibold min-w-0",
lg: "h-10 px-8 text-sm md:text-base font-semibold min-w-0 md:min-w-[260px] lg:min-w-[300px]",
icon: "h-10 w-10",
}
Expand Down
17 changes: 8 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c4f956

Please sign in to comment.