@knowcode/doc-builder 1.3.14 → 1.3.15

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.
@@ -469,15 +469,17 @@ pre code {
469
469
 
470
470
  /* Main Wrapper */
471
471
  .main-wrapper {
472
+ position: absolute;
473
+ top: calc(var(--header-height) + var(--breadcrumb-height));
474
+ left: 0;
475
+ right: 0;
476
+ bottom: 0;
472
477
  display: flex;
473
- height: 100vh;
474
- padding-top: calc(var(--header-height) + var(--breadcrumb-height));
475
478
  overflow: hidden;
476
479
  }
477
480
 
478
481
  .main-wrapper.banner-visible {
479
- height: 100vh;
480
- padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
482
+ top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
481
483
  }
482
484
 
483
485
  /* Sidebar */
@@ -1658,8 +1660,9 @@ tr:hover {
1658
1660
  }
1659
1661
 
1660
1662
  .main-wrapper {
1663
+ position: relative; /* Change back to relative for mobile */
1664
+ top: 0;
1661
1665
  flex-direction: column;
1662
- height: auto;
1663
1666
  min-height: calc(100vh - var(--header-height) - var(--breadcrumb-height));
1664
1667
  }
1665
1668
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {