@voidzero-dev/vitepress-theme 4.1.0 → 4.1.1

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/README.md CHANGED
@@ -6,7 +6,7 @@ Shared VitePress theme for VoidZero projects, including Vite+, Vite, Vitest, Rol
6
6
 
7
7
  Make to sure to in latest commit
8
8
 
9
- 1. Update version in `package.json`
9
+ 1. Update version in `package.json` and commit it (don't push yet)
10
10
  2. Add tag locally `git tag vx.y.z` (matching version in package.json)
11
11
  3. Push changes `git push origin`
12
12
  4. Push to remote `git push origin vx.y.z`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidzero-dev/vitepress-theme",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Shared VitePress theme for VoidZero projects",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -157,15 +157,20 @@ provide(layoutInfoInjectionKey, { heroImageSlotExists })
157
157
  position: relative;
158
158
  margin: 0 auto;
159
159
  width: 100%;
160
- max-width: calc(100vw - 2rem);
161
- border-left: 1px solid var(--color-stroke);
162
- border-right: 1px solid var(--color-stroke);
163
160
  }
164
161
 
165
162
  .dark .content-wrapper {
166
163
  border-color: var(--color-nickel);
167
164
  }
168
165
 
166
+ @media (min-width: 768px) {
167
+ .content-wrapper {
168
+ max-width: calc(100vw - 2rem);
169
+ border-left: 1px solid var(--color-stroke);
170
+ border-right: 1px solid var(--color-stroke);
171
+ }
172
+ }
173
+
169
174
  @media (min-width: 90rem) {
170
175
  .content-wrapper {
171
176
  max-width: 90rem;
@@ -114,7 +114,6 @@ const pageName = computed(() =>
114
114
  .container {
115
115
  margin: 0 auto;
116
116
  width: 100%;
117
- overflow-x: clip;
118
117
  }
119
118
 
120
119
  .aside {
@@ -53,7 +53,7 @@
53
53
 
54
54
  /* Marketing component classes - prefixed with .vz- to avoid conflicts */
55
55
  .wrapper {
56
- @apply max-w-[calc(100vw-2rem)] min-[90rem]:max-w-[90rem] mx-auto border-l border-r border-stroke dark:border-nickel divide-stroke dark:divide-nickel relative overflow-x-clip;
56
+ @apply md:max-w-[calc(100vw-2rem)] min-[90rem]:max-w-[90rem] mx-auto md:border-l md:border-r border-stroke dark:border-nickel divide-stroke dark:divide-nickel relative overflow-x-clip;
57
57
  }
58
58
 
59
59
  .wrapper--ticks::before, .tick-left::before {
@@ -94,3 +94,13 @@
94
94
  .vp-block {
95
95
  padding: 20px 24px;
96
96
  }
97
+
98
+ .vp-code-block-title > .vp-code-block-title-bar {
99
+ border-radius: 0;
100
+ }
101
+
102
+ @media (min-width: 640px) {
103
+ .vp-code-block-title > .vp-code-block-title-bar {
104
+ border-radius: 8px 8px 0 0;
105
+ }
106
+ }
@@ -285,6 +285,11 @@
285
285
  }
286
286
 
287
287
  @media (max-width: 639px) {
288
+ .vp-doc div[class*='language-'],
289
+ .vp-block {
290
+ margin: 16px -24px;
291
+ }
292
+
288
293
  .vp-doc li div[class*='language-'] {
289
294
  border-radius: 8px 0 0 8px;
290
295
  }