Skip to content

Commit 16eabc3

Browse files
authored
[BUGFIX] Fix menu srolling issue on mobile (#962)
1 parent 7811ea7 commit 16eabc3

12 files changed

+47
-2001
lines changed

packages/typo3-docs-theme/assets/js/search.js

Lines changed: 29 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/typo3-docs-theme/assets/sass/layout/_structure.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@
5757
flex-grow: 0;
5858
background-color: #fff;
5959
z-index: 1;
60-
position: sticky;
61-
top: 114px;
62-
height: auto;
63-
overflow: auto;
6460
margin-left: calc(#{$grid-gutter-width} / 2 * -1);
6561
margin-right: calc(#{$grid-gutter-width} / 2 * -1);
6662
padding: calc(#{$grid-gutter-width} / 2);
@@ -75,6 +71,9 @@
7571
padding-right: calc(#{$grid-gutter-width} / 2);
7672
border-bottom: none;
7773
border-right: 1px solid rgba(0, 0, 0, .15);
74+
position: sticky;
75+
top: 114px;
76+
overflow: auto;
7877
}
7978
}
8079
.page-main-content {

0 commit comments

Comments
 (0)