fix: adjust z-index values to prevent recipe card elements from overlapping header and add button
Some checks failed
CI / update (push) Failing after 1m50s

This commit is contained in:
2025-12-12 22:48:40 +01:00
parent ea6eecc00b
commit 7d2b3555f5
2 changed files with 4 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ background-color: var(--red);
display: grid; display: grid;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
z-index: 100;
} }
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
.container{ .container{

View File

@@ -92,7 +92,7 @@ const img_name=recipe.short_name + ".webp?v=" + recipe.dateModified
font-size: 1.5em; font-size: 1.5em;
box-shadow: 0em 0em 1em 0.1em rgba(0, 0, 0, 0.6); box-shadow: 0em 0em 1em 0.1em rgba(0, 0, 0, 0.6);
transition: 100ms; transition: 100ms;
z-index: 10; z-index: 5;
text-decoration: none; text-decoration: none;
} }
#image{ #image{
@@ -179,7 +179,7 @@ const img_name=recipe.short_name + ".webp?v=" + recipe.dateModified
box-shadow: 0em 0em 0.2em 0.05em rgba(0, 0, 0, 0.3); box-shadow: 0em 0em 0.2em 0.05em rgba(0, 0, 0, 0.3);
border: none; border: none;
position: relative; position: relative;
z-index: 10; z-index: 2;
display: inline-block; display: inline-block;
} }
.tag:hover, .tag:hover,
@@ -207,7 +207,7 @@ const img_name=recipe.short_name + ".webp?v=" + recipe.dateModified
transition: 100ms; transition: 100ms;
border: none; border: none;
cursor: pointer; cursor: pointer;
z-index: 10; z-index: 2;
display: inline-block; display: inline-block;
} }
.card_title .category:hover, .card_title .category:hover,