Skip to content

Commit

Permalink
Set card margin to 1px
Browse files Browse the repository at this point in the history
  • Loading branch information
JunichiSugiura committed Nov 20, 2024
1 parent 45dc31a commit ad615e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function Asset() {
<CardTitle>Properties</CardTitle>
</CardHeader>

<CardContent className="bg-background grid grid-cols-3 gap-0.5 p-0">
<CardContent className="bg-background grid grid-cols-3 p-0">
{asset.attributes.map((a) => (
<div
key={`${a.type}-${a.name}`}
Expand Down
4 changes: 2 additions & 2 deletions packages/profile/src/components/inventory/token/tokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function Tokens() {
</CardHeader>

{/* <Link to={`${location.pathname}/token/credit`} state={{ back: location.pathname }}>
<CardContent className="bg-background flex items-center p-0 h-full gap-0.5">
<CardContent className="bg-background flex items-center p-0 h-full gap-px">
<div className="bg-secondary flex h-full aspect-square items-center justify-center">
<CoinsIcon variant="solid" size="sm" />
</div>
Expand Down Expand Up @@ -77,7 +77,7 @@ function TokenCardContent({
});

return (
<CardContent className="bg-background flex items-center p-0 h-full gap-0.5">
<CardContent className="bg-background flex items-center p-0 h-full gap-px">
<div className="bg-secondary flex h-full aspect-square items-center justify-center">
<img
src={token.meta.logoUrl ?? "/public/placeholder.svg"}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-next/src/components/primitives/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Card = React.forwardRef<
<div
ref={ref}
className={cn(
"flex flex-col rounded overflow-hidden text-secondary-foreground shadow gap-y-0.5 shrink-0",
"flex flex-col rounded overflow-hidden text-secondary-foreground shadow gap-y-px shrink-0",
className,
)}
{...props}
Expand Down

0 comments on commit ad615e8

Please sign in to comment.