diff --git a/php/public/style.css b/php/public/style.css index 9a1e578f..6c01613f 100644 --- a/php/public/style.css +++ b/php/public/style.css @@ -418,6 +418,7 @@ label { font-size: 36px; /* Adjust font size */ cursor: pointer; /* Change cursor to pointer */ outline: none; + z-index: 9999; /* Ensures the icon is on top of every layer */ } /* Icon styling: default state */ @@ -449,7 +450,6 @@ label { position: relative; /* Ensures stacking order */ filter: grayscale(0%); /* Restore full color */ opacity: 1; /* Fully visible on hover */ - z-index: 1; /* Ensures the icon is on top of the shadow */ } /* Inner glow when hovered */ @@ -461,4 +461,4 @@ label { /* Remove hover effects when not hovering */ #theme-toggle:not(:hover) #theme-icon { opacity: 0.6; /* Slightly transparent */ -} \ No newline at end of file +} diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 4017cf8c..87df4758 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -683,7 +683,4 @@ -