Skip to content

Commit 15e1ab4

Browse files
fix: raise snackbar z-index above cookie consent banner
Cookie consent banner uses z-index: 10000. Snackbar was at z-index: 1, hiding the 'copied to clipboard' message behind the banner on first visit.
1 parent 9853006 commit 15e1ab4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EssentialCSharp.Web/wwwroot/css/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ details > summary::-webkit-details-marker {
911911
border-radius: 2px; /* Rounded borders */
912912
padding: 16px; /* Padding */
913913
position: fixed; /* Sit on top of the screen */
914-
z-index: 1; /* Add a z-index if needed */
914+
z-index: 10001; /* Above cookie consent banner (z-index: 10000) */
915915
left: 50%; /* Center the snackbar */
916916
bottom: 30px; /* 30px from the bottom */
917917
}

0 commit comments

Comments
 (0)