@brillout/docpress 0.7.9-commit-30ac702 → 0.7.9-commit-ec0a3b5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,10 +110,6 @@ html.navigation-fullscreen #navigation-content-detached,
110
110
  html.navigation-fullscreen #detached-note {
111
111
  display: none !important;
112
112
  }
113
- html.navigation-fullscreen .navigation-content {
114
- display: flex;
115
- margin: auto; /* A `max-width` is set by src/navigation/navigation-fullscreen/initNavigationFullscreen.ts */
116
- }
117
113
  html.navigation-fullscreen {
118
114
  /* disable scroll of main view */
119
115
  overflow: hidden !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brillout/docpress",
3
- "version": "0.7.9-commit-30ac702",
3
+ "version": "0.7.9-commit-ec0a3b5",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@brillout/picocolors": "^1.0.10",
@@ -29,12 +29,13 @@ function getCSSForResponsiveFullcreenNavItems(navItemsGrouped: NavItemGrouped[])
29
29
  ],
30
30
  )
31
31
  const columnsIdMap = determineColumns(columnsUnmerged, numberOfColumns)
32
- columnsIdMap.forEach((columnBreakPoint, columnUngroupedId) => {
32
+ const columnBreakPoints = determineColumnBreakPoints(columnsIdMap)
33
+ columnBreakPoints.forEach((columnBreakPoint, columnUngroupedId) => {
33
34
  CSS_block.push(
34
35
  ...[
35
36
  //
36
37
  ` .nav-items-group:nth-child(${columnUngroupedId + 1}) {`,
37
- ` break-after: ${columnBreakPoint ? 'column' : 'avoid'};`,
38
+ ` break-before: ${columnBreakPoint ? 'column' : 'avoid'};`,
38
39
  ` }`,
39
40
  ],
40
41
  )