Skip to content

Commit

Permalink
fix(css/style): fix deformed scroll-to-top buttom due to wrong font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
IepIweidieng committed Jul 14, 2023
1 parent 4de35a3 commit 7e9a6c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,11 @@ section.to-top a.button {
border: 3px solid;
border-radius: 25px;
z-index: 9999;
font-size: calc(1em / 1.25);
}

@media only screen and (max-width: 768px) {
section.to-top a.button {
font-size: 1em;
}
}

0 comments on commit 7e9a6c6

Please sign in to comment.