Skip to content

Commit

Permalink
Fix: Tooltip and turn page buttons are not below bullet list point te…
Browse files Browse the repository at this point in the history
…xt (#632)

## Description

I just added a very high z-index to turn-page, so both the turn page
button and tooltip are above everything else. If there's a better number
for z-index, let me know. I saw a [cool way to manage z-index on larger
projects](https://www.smashingmagazine.com/2021/02/css-z-index-large-projects/),
but wasn't sure what would be helpful. Setting it to 99999 seems messy
to me.

Fixes #630
  • Loading branch information
Joshua-Lester3 authored Nov 2, 2024
1 parent f5f0498 commit 34fcfe0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EssentialCSharp.Web/wwwroot/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ a:hover {
top: calc(100vh - 9rem);
top: calc(100dvh - 9rem);
display: flex;
z-index: 99999;
justify-content: space-between;
position: -webkit-sticky; /* Safari */
position: sticky;
Expand Down

0 comments on commit 34fcfe0

Please sign in to comment.