@farming-labs/nuxt-theme 0.0.18 → 0.0.20

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/nuxt-theme",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Nuxt/Vue UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle",
5
5
  "keywords": [
6
6
  "docs",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "sugar-high": "^0.9.5",
63
- "@farming-labs/docs": "0.0.18"
63
+ "@farming-labs/docs": "0.0.20"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "nuxt": ">=3.0.0",
@@ -140,6 +140,29 @@ code:not(pre code) {
140
140
  border-radius: 0 !important;
141
141
  }
142
142
 
143
+ /* ─── Docs grid: sidebar (sticky left, full height) — no clipping ─────── */
144
+ @media (min-width: 1024px) {
145
+ .fd-layout {
146
+ grid-template-columns: var(--fd-sidebar-width) 1fr;
147
+ }
148
+ .fd-sidebar {
149
+ position: sticky;
150
+ top: 0;
151
+ align-self: start;
152
+ min-height: 0;
153
+ height: auto;
154
+ height: 100vh;
155
+ }
156
+ }
157
+
158
+ /* ─── Mobile: ensure sidebar drawer/content isn't clipped ───────────────── */
159
+ @media (max-width: 1023px) {
160
+ .fd-sidebar {
161
+ max-height: none;
162
+ overflow-y: visible;
163
+ }
164
+ }
165
+
143
166
  /* ─── Sidebar (pixel-border style — BOTH light and dark) ─────────── */
144
167
 
145
168
  /* Full-width border separators between top-level items */