Skip to content

Commit

Permalink
feat: fix min width for contribution container
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyrusso committed Oct 3, 2023
1 parent a4acefd commit fcc2202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/ideation/components/ContributionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface ContributionCardProps {

function ContributionCard({ own_idea, contributed_by, className }: ContributionCardProps) {
return (
<div className={`card max-w-[200px] w-full max-[1919px]:max-w-[160px] h-fit bg-secondary-content rounded-lg ${className}`}>
<div className={`card max-w-[200px] w-full max-[1919px]:min-w-[160px] h-fit bg-secondary-content rounded-lg ${className}`}>
<section className="flex flex-col items-start p-4 gap-y-4">
<h1 className="text-base font-medium text-base-300">Contributed By</h1>
<div className="flex bg-base-100 items-center rounded-[100px] h-[25px] gap-x-2 py-[3px] px-[9px]">
Expand Down
2 changes: 1 addition & 1 deletion src/app/ideation/components/VoteCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface VoteCardProps {

function VoteCard({ users, voted, className }: VoteCardProps) {
return (
<div className={`card max-w-[200px] max-[1919px]:max-w-[160px] w-full h-fit bg-primary-content rounded-lg ${className}`}>
<div className={`card max-w-[200px] max-[1919px]:min-w-[160px] w-full h-fit bg-primary-content rounded-lg ${className}`}>
<section className="flex flex-col items-start p-4 gap-y-4">
<h1 className="text-3xl font-semibold text-base-300">{users.length}</h1>
<h2 className="text-xl font-semibold text-base-300">{`Vote${
Expand Down

0 comments on commit fcc2202

Please sign in to comment.