Skip to content

Commit

Permalink
fix: image sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
lit26 committed Jun 15, 2024
1 parent e64bfff commit 1f3260b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ProjectItemCard: React.FC<ProjectItemCardProps> = ({ project }) => {
>
<div className="md:flex px-3 py-4 hover:shadow-default duration-500 mb-2">
<img
className="w-full md:w-72 object-contain mr-8 shadow-default"
className="w-full md:w-72 flex-shrink-0 object-contain mr-8 shadow-default"
src={img}
alt=""
/>
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
base: "/project_list",
plugins: [react()],
server: {
host: true,
},
});

0 comments on commit 1f3260b

Please sign in to comment.