Skip to content

Commit ebdbe5f

Browse files
committed
bug(docs): fix Side Nav overflow scroll
1 parent e8323dd commit ebdbe5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/assets/javascript/elements/uxdot-sidenav.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ class UxdotSideNav extends LitElement {
7878
::slotted(ul) {
7979
padding-inline: 0;
8080
padding-block-start: var(--_padding-start);
81-
padding-block-end: var(--_padding-end);
81+
/* allow overflow to scroll with --_padding-end + section item height */
82+
padding-block-end: calc(var(--_padding-end) + (var(--rh-font-size-body-text-lg, 1.125rem) * 1.5) + (var(--rh-space-lg, 16px) * 2));
8283
list-style: none;
8384
margin-block: 0 !important;
8485
height: var(--_max-height);

0 commit comments

Comments
 (0)