Skip to content

Commit

Permalink
fix: ToC tap target size (Lighthouse)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcushen committed Sep 12, 2021
1 parent f6356f5 commit 509c887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wowchemy/assets/scss/wowchemy/layouts/_book.scss
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ ul.toc-top {
#TableOfContents li a,
.toc-top li a {
display: block;
padding: 0.125rem 1.5rem;
padding: 0 1.5rem; // Override default padding
margin-bottom: 8px; // Lighthouse: tap targets must be at least 8px apart
color: rgba(0, 0, 0, 0.65);
font-size: 0.7rem;
}
Expand Down

0 comments on commit 509c887

Please sign in to comment.