@farming-labs/svelte-theme 0.0.56 → 0.0.58

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/svelte-theme",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "description": "Svelte UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle",
5
5
  "keywords": [
6
6
  "docs",
@@ -82,8 +82,8 @@
82
82
  "dependencies": {
83
83
  "gray-matter": "^4.0.3",
84
84
  "sugar-high": "^0.9.5",
85
- "@farming-labs/docs": "0.0.56",
86
- "@farming-labs/svelte": "0.0.56"
85
+ "@farming-labs/docs": "0.0.58",
86
+ "@farming-labs/svelte": "0.0.58"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "svelte": ">=5.0.0"
@@ -143,7 +143,7 @@ code:not(pre code) {
143
143
  /* ─── Docs grid: sidebar (sticky left, full height) — no clipping ─────── */
144
144
  @media (min-width: 1024px) {
145
145
  .fd-layout {
146
- grid-template-columns: var(--fd-sidebar-width) 1fr;
146
+ grid-template-columns: var(--fd-sidebar-width) minmax(0, 1fr);
147
147
  }
148
148
  .fd-sidebar {
149
149
  position: sticky;
@@ -152,6 +152,20 @@ code:not(pre code) {
152
152
  min-height: 0;
153
153
  height: 100%;
154
154
  }
155
+
156
+ .fd-main {
157
+ min-width: 0;
158
+ }
159
+
160
+ .fd-page {
161
+ grid-template-columns: minmax(0, 1fr) var(--fd-toc-width);
162
+ }
163
+
164
+ .fd-page-article,
165
+ .fd-page-body {
166
+ max-width: none;
167
+ margin-inline: 0;
168
+ }
155
169
  }
156
170
 
157
171
  /* ─── Mobile: ensure sidebar drawer/content isn't clipped ───────────────── */