@knowcode/doc-builder 1.4.7 → 1.4.8

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to @knowcode/doc-builder will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.4.8] - 2025-07-21
9
+
10
+ ### Fixed
11
+ - Fixed excessive spacing between breadcrumbs and navigation menu
12
+ - Changed breadcrumb default positioning from `calc(var(--header-height) + 3.5rem)` to `var(--header-height)`
13
+ - Removed duplicate `.sidebar` and `.main-wrapper` CSS definitions causing layout conflicts
14
+
15
+ ### Background
16
+ - The breadcrumb bar was incorrectly adding banner height (3.5rem) even when no banner was visible
17
+ - Duplicate CSS definitions for `.main-wrapper` were using conflicting spacing approaches (padding vs margin)
18
+ - This fixes the final spacing issue in the CSS cleanup series from v1.4.5-v1.4.7
19
+
8
20
  ## [1.4.7] - 2025-07-21
9
21
 
10
22
  ### Fixed
@@ -450,7 +450,7 @@ pre code {
450
450
  border-bottom: 1px solid var(--color-border-default);
451
451
  padding: var(--space-2) 0;
452
452
  position: fixed;
453
- top: calc(var(--header-height) + 3.5rem);
453
+ top: var(--header-height);
454
454
  left: 0;
455
455
  right: 0;
456
456
  z-index: 900;
@@ -506,16 +506,6 @@ pre code {
506
506
  margin-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
507
507
  }
508
508
 
509
- /* Sidebar */
510
- .sidebar {
511
- width: var(--sidebar-width);
512
- background: var(--color-bg-secondary);
513
- border-right: 1px solid var(--color-border-default);
514
- display: flex;
515
- flex-direction: column;
516
- position: relative;
517
- }
518
-
519
509
  .sidebar-header {
520
510
  padding: var(--space-3);
521
511
  border-bottom: 1px solid var(--color-border-default);
@@ -681,18 +671,6 @@ pre code {
681
671
  }
682
672
 
683
673
  /* Main Content */
684
- .main-wrapper {
685
- display: flex;
686
- padding-top: calc(var(--header-height) + var(--breadcrumb-height));
687
- min-height: 100vh;
688
- transition: padding-top var(--duration-normal);
689
- }
690
-
691
- /* Adjust layout when banner is visible */
692
- .main-wrapper.banner-visible {
693
- padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
694
- }
695
-
696
674
  .content {
697
675
  flex: 1;
698
676
  padding: 40px var(--space-8);
package/html/README.html CHANGED
@@ -29,7 +29,7 @@
29
29
 
30
30
  <div class="header-actions">
31
31
  <div class="deployment-info">
32
- <span class="deployment-date" title="Built with doc-builder v1.4.6">Last updated: Jul 21, 2025, 11:05 AM UTC</span>
32
+ <span class="deployment-date" title="Built with doc-builder v1.4.7">Last updated: Jul 21, 2025, 11:18 AM UTC</span>
33
33
  </div>
34
34
 
35
35
 
@@ -450,7 +450,7 @@ pre code {
450
450
  border-bottom: 1px solid var(--color-border-default);
451
451
  padding: var(--space-2) 0;
452
452
  position: fixed;
453
- top: calc(var(--header-height) + 3.5rem);
453
+ top: var(--header-height);
454
454
  left: 0;
455
455
  right: 0;
456
456
  z-index: 900;
@@ -506,16 +506,6 @@ pre code {
506
506
  margin-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
507
507
  }
508
508
 
509
- /* Sidebar */
510
- .sidebar {
511
- width: var(--sidebar-width);
512
- background: var(--color-bg-secondary);
513
- border-right: 1px solid var(--color-border-default);
514
- display: flex;
515
- flex-direction: column;
516
- position: relative;
517
- }
518
-
519
509
  .sidebar-header {
520
510
  padding: var(--space-3);
521
511
  border-bottom: 1px solid var(--color-border-default);
@@ -681,18 +671,6 @@ pre code {
681
671
  }
682
672
 
683
673
  /* Main Content */
684
- .main-wrapper {
685
- display: flex;
686
- padding-top: calc(var(--header-height) + var(--breadcrumb-height));
687
- min-height: 100vh;
688
- transition: padding-top var(--duration-normal);
689
- }
690
-
691
- /* Adjust layout when banner is visible */
692
- .main-wrapper.banner-visible {
693
- padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
694
- }
695
-
696
674
  .content {
697
675
  flex: 1;
698
676
  padding: 40px var(--space-8);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {