@knowcode/doc-builder 1.4.6 → 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 +23 -0
- package/Screenshot 2025-07-21 at 12.14.39.png +0 -0
- package/assets/css/notion-style.css +2 -34
- package/html/README.html +1 -1
- package/html/css/notion-style.css +2 -34
- package/html/index.html +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,29 @@ 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
|
+
|
|
20
|
+
## [1.4.7] - 2025-07-21
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
- Removed excess spacing above navigation menu by setting sidebar-header margin-bottom to 0
|
|
24
|
+
- Cleaned up duplicate `.sidebar-header` CSS definitions that were causing conflicts
|
|
25
|
+
|
|
26
|
+
### Background
|
|
27
|
+
- Previous CSS fixes exposed duplicate `.sidebar-header` definitions with conflicting margins
|
|
28
|
+
- The extra spacing was introduced by `margin-bottom: var(--space-4)` on the sidebar header
|
|
29
|
+
- This completes the CSS cleanup started in v1.4.5 and v1.4.6
|
|
30
|
+
|
|
8
31
|
## [1.4.6] - 2025-07-21
|
|
9
32
|
|
|
10
33
|
### Fixed
|
|
Binary file
|
|
@@ -333,16 +333,6 @@ pre code {
|
|
|
333
333
|
top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
.sidebar-header {
|
|
337
|
-
padding: var(--space-4);
|
|
338
|
-
border-bottom: 1px solid var(--color-border-default);
|
|
339
|
-
margin-bottom: var(--space-4);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/* Sidebar Breadcrumbs */
|
|
343
|
-
.sidebar-breadcrumbs {
|
|
344
|
-
margin-bottom: var(--space-3);
|
|
345
|
-
}
|
|
346
336
|
|
|
347
337
|
.sidebar-home-link {
|
|
348
338
|
display: inline-flex;
|
|
@@ -460,7 +450,7 @@ pre code {
|
|
|
460
450
|
border-bottom: 1px solid var(--color-border-default);
|
|
461
451
|
padding: var(--space-2) 0;
|
|
462
452
|
position: fixed;
|
|
463
|
-
top:
|
|
453
|
+
top: var(--header-height);
|
|
464
454
|
left: 0;
|
|
465
455
|
right: 0;
|
|
466
456
|
z-index: 900;
|
|
@@ -516,20 +506,10 @@ pre code {
|
|
|
516
506
|
margin-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
|
|
517
507
|
}
|
|
518
508
|
|
|
519
|
-
/* Sidebar */
|
|
520
|
-
.sidebar {
|
|
521
|
-
width: var(--sidebar-width);
|
|
522
|
-
background: var(--color-bg-secondary);
|
|
523
|
-
border-right: 1px solid var(--color-border-default);
|
|
524
|
-
display: flex;
|
|
525
|
-
flex-direction: column;
|
|
526
|
-
position: relative;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
509
|
.sidebar-header {
|
|
530
510
|
padding: var(--space-3);
|
|
531
511
|
border-bottom: 1px solid var(--color-border-default);
|
|
532
|
-
margin-bottom:
|
|
512
|
+
margin-bottom: 0;
|
|
533
513
|
}
|
|
534
514
|
|
|
535
515
|
|
|
@@ -691,18 +671,6 @@ pre code {
|
|
|
691
671
|
}
|
|
692
672
|
|
|
693
673
|
/* Main Content */
|
|
694
|
-
.main-wrapper {
|
|
695
|
-
display: flex;
|
|
696
|
-
padding-top: calc(var(--header-height) + var(--breadcrumb-height));
|
|
697
|
-
min-height: 100vh;
|
|
698
|
-
transition: padding-top var(--duration-normal);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/* Adjust layout when banner is visible */
|
|
702
|
-
.main-wrapper.banner-visible {
|
|
703
|
-
padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
|
|
704
|
-
}
|
|
705
|
-
|
|
706
674
|
.content {
|
|
707
675
|
flex: 1;
|
|
708
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.
|
|
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
|
|
|
@@ -333,16 +333,6 @@ pre code {
|
|
|
333
333
|
top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
.sidebar-header {
|
|
337
|
-
padding: var(--space-4);
|
|
338
|
-
border-bottom: 1px solid var(--color-border-default);
|
|
339
|
-
margin-bottom: var(--space-4);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
/* Sidebar Breadcrumbs */
|
|
343
|
-
.sidebar-breadcrumbs {
|
|
344
|
-
margin-bottom: var(--space-3);
|
|
345
|
-
}
|
|
346
336
|
|
|
347
337
|
.sidebar-home-link {
|
|
348
338
|
display: inline-flex;
|
|
@@ -460,7 +450,7 @@ pre code {
|
|
|
460
450
|
border-bottom: 1px solid var(--color-border-default);
|
|
461
451
|
padding: var(--space-2) 0;
|
|
462
452
|
position: fixed;
|
|
463
|
-
top:
|
|
453
|
+
top: var(--header-height);
|
|
464
454
|
left: 0;
|
|
465
455
|
right: 0;
|
|
466
456
|
z-index: 900;
|
|
@@ -516,20 +506,10 @@ pre code {
|
|
|
516
506
|
margin-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
|
|
517
507
|
}
|
|
518
508
|
|
|
519
|
-
/* Sidebar */
|
|
520
|
-
.sidebar {
|
|
521
|
-
width: var(--sidebar-width);
|
|
522
|
-
background: var(--color-bg-secondary);
|
|
523
|
-
border-right: 1px solid var(--color-border-default);
|
|
524
|
-
display: flex;
|
|
525
|
-
flex-direction: column;
|
|
526
|
-
position: relative;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
509
|
.sidebar-header {
|
|
530
510
|
padding: var(--space-3);
|
|
531
511
|
border-bottom: 1px solid var(--color-border-default);
|
|
532
|
-
margin-bottom:
|
|
512
|
+
margin-bottom: 0;
|
|
533
513
|
}
|
|
534
514
|
|
|
535
515
|
|
|
@@ -691,18 +671,6 @@ pre code {
|
|
|
691
671
|
}
|
|
692
672
|
|
|
693
673
|
/* Main Content */
|
|
694
|
-
.main-wrapper {
|
|
695
|
-
display: flex;
|
|
696
|
-
padding-top: calc(var(--header-height) + var(--breadcrumb-height));
|
|
697
|
-
min-height: 100vh;
|
|
698
|
-
transition: padding-top var(--duration-normal);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
/* Adjust layout when banner is visible */
|
|
702
|
-
.main-wrapper.banner-visible {
|
|
703
|
-
padding-top: calc(var(--header-height) + var(--breadcrumb-height) + 3.5rem);
|
|
704
|
-
}
|
|
705
|
-
|
|
706
674
|
.content {
|
|
707
675
|
flex: 1;
|
|
708
676
|
padding: 40px var(--space-8);
|
package/html/index.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.
|
|
32
|
+
<span class="deployment-date" title="Built with doc-builder v1.4.6">Last updated: Jul 21, 2025, 11:05 AM UTC</span>
|
|
33
33
|
</div>
|
|
34
34
|
|
|
35
35
|
|