mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
fix: ToC tap target size (Lighthouse)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user