Skip to content

Commit

Permalink
fix: Share button wasn't clickable on mobile (something funky with ab…
Browse files Browse the repository at this point in the history
…solute positioning in Chrome)
  • Loading branch information
TEParsons committed Dec 22, 2024
1 parent 94cf9bb commit ec53182
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions mkdocs_landing/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,17 @@ div#background-gradient {
top: 0; bottom: 0; left: 0; right: 0;
}

#share {
position: absolute;
right: 2rem;
top: 2rem;
#share-btn {
position: relative;
margin-left: calc(100% - 2rem);
margin-bottom: -2rem;
top: 4rem;
font-size: 2rem;
padding: 1rem;
color: var(--crust);
border-radius: 100%;
}
#share:hover {
#share-btn:hover {
color: var(--text);
background-color: var(--crust);
}
Expand Down

0 comments on commit ec53182

Please sign in to comment.