Skip to content

Commit a049d83

Browse files
authored
Add scrollable menu and move github button (#935)
## Issue #844 #826 ## Change - Move Github button and align in confval title - Add separate scroll for menu and make it sticky
1 parent ed34df0 commit a049d83

File tree

27 files changed

+2304
-480
lines changed

27 files changed

+2304
-480
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Global PHP arguments, applied to both docker and local execution
2-
PHP_ARGS ?= -d memory_limit=1024M
2+
PHP_ARGS ?= -d memory_limit=1024M -d date.timezone=UTC
33

44
## Docker wrapper, for raw php commands (so it's not required on the host)
55
## This container has no runtime for the `guides` project!

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

+7
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
}
6363
.page-main-navigation {
6464
flex-grow: 0;
65+
background-color: #fff;
66+
z-index: 1;
67+
position: sticky;
68+
top: 114px;
69+
height: auto;
70+
overflow: auto;
6571
margin-left: calc(#{$grid-gutter-width} / 2 * -1);
6672
margin-right: calc(#{$grid-gutter-width} / 2 * -1);
6773
padding: calc(#{$grid-gutter-width} / 2);
@@ -71,6 +77,7 @@
7177
flex-shrink: 0;
7278
width: 15rem;
7379
margin: 0;
80+
height: calc(100vh - 114px);
7481
margin-right: $grid-gutter-width;
7582
padding-right: calc(#{$grid-gutter-width} / 2);
7683
border-bottom: none;

0 commit comments

Comments
 (0)