Skip to content

Commit ded622f

Browse files
committed
[closes #154] Make the nav scrollable
1 parent 0e0e0c6 commit ded622f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addon/components/docs-viewer/x-nav/template.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
}}
1919
'>
20-
<div class='pt-px sticky pin-t mb-8 '>
20+
<div class='pt-px sticky pin-t mb-8 lg:max-h-screen lg:-mt-4 lg:pt-4 lg:overflow-y-scroll'>
2121
{{#if (or media.isMobile media.isTablet)}}
2222
<div class="text-right">
2323
<button onclick={{action (mut isShowingMenu) false}}
@@ -66,7 +66,7 @@
6666
{{/if}}
6767
{{/docs-viewer/x-nav-list}}
6868

69-
<div class="mt-16 mr-2 text-xs rounded">
69+
<div class="mt-16 lg:mb-16 mr-2 text-xs rounded">
7070
<a href="https://github.com/ember-learn/ember-cli-addon-docs"
7171
class='opacity-50 hover:opacity-100 transition no-underline
7272
text-inherit flex items-center text-grey-darkest'>

0 commit comments

Comments
 (0)