Skip to content

Commit

Permalink
fix(tips): pad control dots and round out avatar images
Browse files Browse the repository at this point in the history
  • Loading branch information
joekotvas committed Nov 13, 2023
1 parent ed6c084 commit b5f2ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/recipes/components/recipe-details/Tips.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const Tips = ({ recipeId }) => {
showIndicators={true}
dynamicHeight={false}
stopOnHover={true}
className="bg-transparent mx-[-2.25rem] [&_.carousel-slider]:overflow-visible [&_.control-dots]:bottom-[-2rem]"
className="bg-transparent mx-[-2.25rem] [&_.carousel-slider]:overflow-visible [&_.control-dots]:bottom-[-2rem] [&_.control-dots]:px-6"
>
{tips.map((tip) => (
<div key={tip.tip_id}>
Expand Down Expand Up @@ -58,7 +58,7 @@ const TipCard = ({
return (
<div className="flex flex-col w-full p-5 cursor-pointer">
<div className="flex items-center gap-2">
<div>
<div className="w-6">
<img
src={author_avatar_url}
className="object-cover w-6 h-6 rounded-full"
Expand Down

0 comments on commit b5f2ea4

Please sign in to comment.