Skip to content

Commit

Permalink
sp対応
Browse files Browse the repository at this point in the history
  • Loading branch information
Shota Miyahira committed Apr 15, 2022
1 parent baab972 commit f656dda
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/components/ActivityCard/ActivityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,16 @@ export const ActivityCard: React.FC<ActivityCardProps> = ({ activity }) => {
rel="noreferrer"
>
<div className="flex items-center mb-2">
<span className="flex items-center mr-2">
<Image src={activity.favicon} width={15} height={15} alt="favicon" />
<span className="flex items-center mr-2 w-4 h-4">
<Image
src={activity.favicon}
width={15}
height={15}
className="w-4 h-4"
alt="favicon"
/>
</span>
<p className="font-bold">{activity.title}</p>
<p className="font-bold break-all flex-1">{activity.title}</p>
</div>
<p className="text-sm text-gray-900/50">
{subYears(new Date(), 1) > new Date(activity.isoDate)
Expand Down

1 comment on commit f656dda

@vercel
Copy link

@vercel vercel bot commented on f656dda Apr 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.