@vuepress/theme-default 2.0.0-beta.35 → 2.0.0-beta.36

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.
@@ -68,7 +68,7 @@ const HomeHeroImage: FunctionalComponent = () => {
68
68
  }
69
69
  // wrap hero image with <ClientOnly> to avoid ssr-mismatch
70
70
  // when using a different hero image in dark mode
71
- return h(ClientOnly, img)
71
+ return h(ClientOnly, () => img)
72
72
  }
73
73
  </script>
74
74
 
@@ -36,7 +36,7 @@ const NavbarBrandLogo: FunctionalComponent = () => {
36
36
  }
37
37
  // wrap brand logo with <ClientOnly> to avoid ssr-mismatch
38
38
  // when using a different brand logo in dark mode
39
- return h(ClientOnly, img)
39
+ return h(ClientOnly, () => img)
40
40
  }
41
41
  </script>
42
42
 
@@ -4,7 +4,9 @@
4
4
 
5
5
  .custom-container-title {
6
6
  font-weight: 600;
7
- margin-bottom: -0.4rem;
7
+ &:not(:only-child) {
8
+ margin-bottom: -0.4rem;
9
+ }
8
10
  }
9
11
 
10
12
  &.tip,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/theme-default",
3
- "version": "2.0.0-beta.35",
3
+ "version": "2.0.0-beta.36",
4
4
  "description": "Default theme of VuePress",
5
5
  "keywords": [
6
6
  "vuepress-theme",
@@ -31,17 +31,17 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@vuepress/client": "2.0.0-beta.35",
34
- "@vuepress/core": "2.0.0-beta.35",
35
- "@vuepress/plugin-active-header-links": "2.0.0-beta.35",
36
- "@vuepress/plugin-back-to-top": "2.0.0-beta.35",
37
- "@vuepress/plugin-container": "2.0.0-beta.35",
38
- "@vuepress/plugin-external-link-icon": "2.0.0-beta.35",
39
- "@vuepress/plugin-git": "2.0.0-beta.35",
40
- "@vuepress/plugin-medium-zoom": "2.0.0-beta.35",
41
- "@vuepress/plugin-nprogress": "2.0.0-beta.35",
42
- "@vuepress/plugin-palette": "2.0.0-beta.35",
43
- "@vuepress/plugin-prismjs": "2.0.0-beta.35",
44
- "@vuepress/plugin-theme-data": "2.0.0-beta.35",
34
+ "@vuepress/core": "2.0.0-beta.36",
35
+ "@vuepress/plugin-active-header-links": "2.0.0-beta.36",
36
+ "@vuepress/plugin-back-to-top": "2.0.0-beta.36",
37
+ "@vuepress/plugin-container": "2.0.0-beta.36",
38
+ "@vuepress/plugin-external-link-icon": "2.0.0-beta.36",
39
+ "@vuepress/plugin-git": "2.0.0-beta.36",
40
+ "@vuepress/plugin-medium-zoom": "2.0.0-beta.36",
41
+ "@vuepress/plugin-nprogress": "2.0.0-beta.36",
42
+ "@vuepress/plugin-palette": "2.0.0-beta.36",
43
+ "@vuepress/plugin-prismjs": "2.0.0-beta.36",
44
+ "@vuepress/plugin-theme-data": "2.0.0-beta.36",
45
45
  "@vuepress/shared": "2.0.0-beta.35",
46
46
  "@vuepress/utils": "2.0.0-beta.35",
47
47
  "@vueuse/core": "^7.5.4",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "4bf1c55b6fb863c9251aa80178d5bc6475f5b315"
56
+ "gitHead": "275ac05052de642e698bc0fb7fad61fce702a978"
57
57
  }