fix: add z-index for ChooseFood button (#45)

This commit is contained in:
Lo
2022-09-04 23:09:04 +08:00
committed by GitHub
parent b8a4ee2c0b
commit e5ac472fe9

View File

@@ -56,7 +56,7 @@ const randomRecipe = ref<RecipeItem>(generateRandomRecipe())
<button
v-show="displayedRecipe.length !== recipe.length && isVisible"
ref="recipeBtn"
class="cursor-pointer fixed inline-flex justify-center items-center rounded rounded-full shadow hover:shadow-md"
class="cursor-pointer fixed inline-flex justify-center items-center rounded rounded-full shadow hover:shadow-md z-9"
bg="green-50 dark:green-900" w="10" h="10" bottom="4" right="4"
text="green-600 dark:green-300"
@click="show"