Skip to content

Commit 3adfd1d

Browse files
Copilotnwalters512
andcommitted
Fix checkbox alignment with negative margins
Co-authored-by: nwalters512 <1476544+nwalters512@users.noreply.github.com>
1 parent 6b0fee8 commit 3adfd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/recipes/[slug].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const Recipe: React.FC<RecipeProps> = ({
183183
>
184184
Clear checkboxes
185185
</button>
186-
<ul className="space-y-2">
186+
<ul className="space-y-2 -mx-1.5">
187187
{ingredients.map((ingredient, i) => {
188188
const ingredientKey = `${i}-${ingredient}`
189189
const isChecked = !!checked[ingredientKey]

0 commit comments

Comments
 (0)