@eox/pages-theme-eox 0.8.4 → 0.8.6

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": "@eox/pages-theme-eox",
3
- "version": "0.8.4",
3
+ "version": "0.8.6",
4
4
  "type": "module",
5
5
  "description": "Vitepress Theme with EOX branding",
6
6
  "main": "src/index.js",
package/src/Layout.vue CHANGED
@@ -37,7 +37,7 @@
37
37
  <h1 class="bold" style="font-size: clamp(2rem, 5vw, 45px)">
38
38
  {{ frontmatter.hero.text }}
39
39
  </h1>
40
- <p :innerHTML="frontmatter.hero.tagline"></p>
40
+ <p v-html="frontmatter.hero.tagline"></p>
41
41
  </div>
42
42
  <div style="grid-area: actions">
43
43
  <a
@@ -74,7 +74,7 @@
74
74
  :src="withBase(frontmatter.hero.background.src)"
75
75
  />
76
76
  </header>
77
- <nav
77
+ <!-- <nav
78
78
  v-if="frontmatter.layout !== 'home'"
79
79
  class="no-space"
80
80
  style="max-width: 1200px; padding: 12px 24px; margin: auto; width: 100%; position: sticky; top: var(--vp-nav-height); z-index: 1;"
@@ -99,7 +99,7 @@
99
99
  <i class="mdi mdi-chevron-right small"></i>
100
100
  </template>
101
101
  </template>
102
- </nav>
102
+ </nav> -->
103
103
  </template>
104
104
  <template #not-found>
105
105
  <ClientOnly v-if="router.route.path === '/cookie-settings'">
@@ -371,6 +371,7 @@ export default {
371
371
  },
372
372
  mounted() {
373
373
  window.addEventListener("resize", this.handleResize);
374
+ this.handleResize();
374
375
  this.updateOrderStyles();
375
376
  },
376
377
  beforeDestroy() {
package/src/style.css CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  body {
11
11
  margin: 0;
12
- overflow-x: unset;
12
+ overflow-x: hidden;
13
13
  }
14
14
 
15
15
  .VPNav,