Skip to content

Commit

Permalink
🎨 improve genres style
Browse files Browse the repository at this point in the history
  • Loading branch information
pouyio committed Nov 6, 2024
1 parent 2947339 commit 1051d3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Genres.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const Genres: React.FC<IGenresProps> = ({
const { t } = useTranslate();
return (
<ul
className={`flex overflow-x-auto my-2 -mx-4 text-sm lg:mx-0 lg:overflow-auto lg:flex-wrap lg:justify-start select-none ${
onClick ? 'flex-wrap' : ''
className={`flex overflow-x-auto my-2 -mx-4 text-sm lg:mx-0 lg:overflow-auto lg:flex-wrap lg:justify-start select-none gap-y-1 ${
onClick ? 'flex-wrap justify-evenly' : ''
}`}
style={{ WebkitOverflowScrolling: 'touch' }}
>
Expand All @@ -29,7 +29,7 @@ const Genres: React.FC<IGenresProps> = ({
<li
key={g}
{...(onClick ? { onClick: () => onClick(g) } : {})}
className={onClick ? 'cursor-pointer mb-1' : ''}
className={onClick ? 'cursor-pointer' : ''}
>
<div
className={`bg-gray-100 px-2 py-1 rounded-full mx-1 whitespace-pre font-family-text ${
Expand Down

0 comments on commit 1051d3a

Please sign in to comment.