Skip to content

Commit a4e8b2e

Browse files
committed
content/static: add margin to bottom of last element in nav group
Fixes issue where a single item in a nav group like Index > Examples looks cluttered. Change-Id: Icf9103c4f6e7b57339df7187ca593f4ef604367f Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/260727 Trust: Jamal Carvalho <[email protected]> Run-TryBot: Jamal Carvalho <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Julie Qiu <[email protected]>
1 parent 2063612 commit a4e8b2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/static/css/sidenav.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@
159159
.DocNav [role='group'] [role='treeitem'] {
160160
padding-left: 2.5rem;
161161
}
162+
.DocNav ul[role='group'] > :last-child {
163+
margin-bottom: 0.375rem;
164+
}
162165
.DocNav [aria-selected='true'] {
163166
color: var(--gray-1);
164167
font-weight: 500;

0 commit comments

Comments
 (0)