Skip to content

Commit 60a36ff

Browse files
author
Alexandre Stanislawski
committed
fix(live-doc): Momentum scroll for iPhone
1 parent 3855071 commit 60a36ff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/_layouts/default.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@
2323
<body>
2424
{% include header.html %}
2525

26+
<script src="https://cdn.jsdelivr.net/jquery/1.11.3/jquery.min.js"></script>
27+
2628
{{ content }}
2729

2830
{%if page.noFooter == null %}
2931
{% include footer.html %}
3032
{% endif %}
3133

32-
<script src="https://cdn.jsdelivr.net/jquery/1.11.3/jquery.min.js"></script>
3334
<script src="https://cdn.jsdelivr.net/bootstrap/3.3.5/js/bootstrap.min.js"></script>
3435
<script src="https://cdn.jsdelivr.net/gsap/1.11.8/TweenMax.min.js"></script>
3536
<script src="https://cdn.jsdelivr.net/gsap/1.11.8/TimelineMax.min.js"></script>

docs/css/_documentation.scss

+2-3
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,11 @@ code {
448448
max-width: 100%;
449449
}
450450
.widget-description {
451+
overflow: scroll;
452+
-webkit-overflow-scrolling: touch;
451453
padding: 0;
452454
}
453455
}
454-
.navbar-nav {
455-
display: none;
456-
}
457456
.documentation-content{
458457
padding: 20px 0;
459458
p, h1, h2, h3, h4, .h4, div[id], ul, .highlight {

0 commit comments

Comments
 (0)