Skip to content

Commit d81b51a

Browse files
committed
Make links in a list 48px min-height.
Include all lists. Also we have multiple TOC's in some docs. Change #contents to div.contents to get all the links resized for all TOC's.
1 parent a3f67a9 commit d81b51a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

website/www/_static/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ body > .footer { margin-inline-start: unset; }
153153
/* stop paths and things from overflowing the viewport. */
154154
div.content { overflow-wrap: break-word; }
155155
/* add spaces around items in TOC to make hitting the links easier */
156-
#contents ul.simple li { padding-block: .5em; }
156+
div.contents ul.simple li { padding-block: .5em; }
157+
ul.simple li a { min-height: 48px;
158+
display: block;}
157159
/* make examples with long lines scrollable */
158160
div.highlight pre { overflow: auto;}
159161
}

0 commit comments

Comments
 (0)