valaxy-theme-yun 0.14.42 → 0.14.45

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.
@@ -31,7 +31,7 @@ const { headers, handleClick } = useOutline()
31
31
  </span>
32
32
 
33
33
  <YunOutlineItem
34
- class="va-toc relative z-1"
34
+ class="va-toc relative z-1 css-i18n-toc"
35
35
  :headers="headers"
36
36
  :on-click="handleClick"
37
37
  root
@@ -11,8 +11,19 @@ const { t } = useI18n()
11
11
  </script>
12
12
 
13
13
  <template>
14
- <button class="search-btn popup-trigger yun-icon-btn" :title="t('menu.search')">
14
+ <button class="yun-search-btn popup-trigger yun-icon-btn" :title="t('menu.search')">
15
15
  <div v-if="!open" i-ri-search-line />
16
16
  <div v-else text="!2xl" i-ri-close-line />
17
17
  </button>
18
18
  </template>
19
+
20
+ <style lang="scss">
21
+ .yun-search-btn {
22
+ position: fixed;
23
+ top: 0.6rem;
24
+ right: 0.8rem;
25
+
26
+ color: var(--va-c-primary);
27
+ z-index: var(--yun-z-search-btn);
28
+ }
29
+ </style>
@@ -32,14 +32,3 @@ const YunAlgoliaSearch = isAlgolia.value
32
32
  <YunAlgoliaSearch v-if="isAlgolia" :open="open" @close="open = false" />
33
33
  <YunFuseSearch v-else-if="isFuse" :open="open" @close="open = false" />
34
34
  </template>
35
-
36
- <style lang="scss">
37
- .search-btn {
38
- position: absolute;
39
- top: 0.6rem;
40
- right: 0.8rem;
41
-
42
- color: var(--va-c-primary);
43
- z-index: var(--yun-z-search-btn);
44
- }
45
- </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valaxy-theme-yun",
3
- "version": "0.14.42",
3
+ "version": "0.14.45",
4
4
  "author": {
5
5
  "email": "me@yunyoujun.cn",
6
6
  "name": "YunYouJun",
@@ -24,6 +24,6 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/animejs": "^3.1.7",
27
- "valaxy": "0.14.42"
27
+ "valaxy": "0.14.45"
28
28
  }
29
29
  }