fix: ToC tap target size (Lighthouse)

This commit is contained in:
George Cushen committed 2021-09-13 00:32:05 +01:00
1 parent d054640701
commit 9ccb06531f
1 file changed
+3 -2
@@ -238,15 +238,16 @@ ul.toc-top {
#TableOfContents li {
display: block;
margin-bottom: 8px; // Lighthouse: tap targets must be at least 8px apart
}
#TableOfContents li a,
.toc-top li a {
display: block;
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;
line-height: 1.75; // Lighthouse: min tap target size
font-size: 16px; // Lighthouse: min tap target size
}
.dark #TableOfContents li a,