Skip to content

Commit

Permalink
style: categories in the middle
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 11, 2024
1 parent 5d62745 commit a2803b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Categories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const CategoryItem = ({ category }) => (

const Categories = () => {
return (
<div className="mt-5">
<div className="mt-5 text-center md:text-left">
<h2 className="text-xl font-semibold">Categories</h2>
<div className="flex flex-wrap justify-start items-center gap-4 mt-4">
<div className="flex flex-wrap justify-center md:justify-start items-center gap-4 mt-4">
{categories.map((category) => (
<CategoryItem key={category.name} category={category} />
))}
Expand Down

0 comments on commit a2803b9

Please sign in to comment.