@knowcode/doc-builder 1.3.6 → 1.3.7
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 +13 -0
- package/assets/css/notion-style.css +6 -1
- package/assets/css/style.css +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ 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.3.7] - 2025-07-19
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed content area not collapsing when sidebar is hidden on mobile
|
|
12
|
+
- Content now properly takes full width when sidebar is closed
|
|
13
|
+
- Added !important to margin-left: 0 for mobile breakpoints to ensure proper override
|
|
14
|
+
- Fixed issue where content appeared too far right on mobile devices
|
|
15
|
+
|
|
16
|
+
### Improved
|
|
17
|
+
- Content area now properly responds to sidebar state on all screen sizes
|
|
18
|
+
- Better use of available screen space on mobile devices
|
|
19
|
+
- Consistent behavior across both default and notion-style themes
|
|
20
|
+
|
|
8
21
|
## [1.3.6] - 2025-07-19
|
|
9
22
|
|
|
10
23
|
### Fixed
|
|
@@ -704,9 +704,11 @@ pre code {
|
|
|
704
704
|
|
|
705
705
|
.content {
|
|
706
706
|
flex: 1;
|
|
707
|
+
margin-left: var(--sidebar-width);
|
|
707
708
|
padding: 40px var(--space-8);
|
|
708
709
|
overflow-y: auto;
|
|
709
710
|
background: var(--color-bg-default);
|
|
711
|
+
transition: margin-left var(--duration-normal);
|
|
710
712
|
}
|
|
711
713
|
|
|
712
714
|
.content-inner {
|
|
@@ -1044,8 +1046,9 @@ tr:hover {
|
|
|
1044
1046
|
}
|
|
1045
1047
|
|
|
1046
1048
|
.content {
|
|
1047
|
-
margin-left: 0;
|
|
1049
|
+
margin-left: 0 !important;
|
|
1048
1050
|
padding: var(--space-6) var(--space-4);
|
|
1051
|
+
max-width: 100%;
|
|
1049
1052
|
}
|
|
1050
1053
|
|
|
1051
1054
|
.menu-toggle {
|
|
@@ -1685,7 +1688,9 @@ tr:hover {
|
|
|
1685
1688
|
}
|
|
1686
1689
|
|
|
1687
1690
|
.content {
|
|
1691
|
+
margin-left: 0 !important;
|
|
1688
1692
|
padding: var(--space-4);
|
|
1693
|
+
max-width: 100%;
|
|
1689
1694
|
}
|
|
1690
1695
|
|
|
1691
1696
|
.content-inner {
|
package/assets/css/style.css
CHANGED
|
@@ -1401,8 +1401,9 @@ blockquote {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
1403
|
.content {
|
|
1404
|
-
margin-left: 0;
|
|
1404
|
+
margin-left: 0 !important;
|
|
1405
1405
|
padding: var(--space-xl);
|
|
1406
|
+
max-width: 100%;
|
|
1406
1407
|
}
|
|
1407
1408
|
|
|
1408
1409
|
.search-box {
|
|
@@ -1411,6 +1412,12 @@ blockquote {
|
|
|
1411
1412
|
}
|
|
1412
1413
|
|
|
1413
1414
|
@media (max-width: 768px) {
|
|
1415
|
+
.content {
|
|
1416
|
+
margin-left: 0 !important;
|
|
1417
|
+
padding: var(--space-md);
|
|
1418
|
+
max-width: 100%;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1414
1421
|
h1 {
|
|
1415
1422
|
font-size: 2rem;
|
|
1416
1423
|
}
|