astro-pure 1.2.8 → 1.2.9

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.
@@ -5,13 +5,13 @@ const { header: headerName, content: contentName, needPercent = true } = Astro.p
5
5
  ---
6
6
 
7
7
  <div
8
- class='z-90 group fixed bottom-8 end-4 transition-all flex flex-col gap-y-4 sm:end-8'
8
+ class='z-10 group fixed bottom-8 end-4 transition-all flex flex-col gap-y-4 sm:end-8'
9
9
  id='action-buttons'
10
10
  >
11
11
  <slot name='other-icons' />
12
12
  <button
13
13
  aria-label='Back to Top'
14
- class='relative h-10 w-10 flex items-center justify-center rounded-full border-2 border-transparent bg-muted text-muted-foreground duration-300 hover:border-border/75 sm:size-12 opacity-0'
14
+ class='relative size-10 flex items-center justify-center rounded-full border-2 border-transparent bg-muted text-muted-foreground duration-300 hover:border-border/75 sm:size-12 opacity-0'
15
15
  id='to-top-btn'
16
16
  >
17
17
  <div
@@ -47,7 +47,6 @@ const { header: headerName, content: contentName, needPercent = true } = Astro.p
47
47
  } else {
48
48
  console.error(`Element with ID ${headerName} not found.`)
49
49
  }
50
-
51
50
  if (needPercent) {
52
51
  // scroll percentage
53
52
  const scrollHeight = articleElement.scrollHeight // total height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-pure",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "A simple, clean but powerful blog theme build by astro.",
5
5
  "type": "module",
6
6
  "author": "CWorld",
package/bunfig.toml DELETED
@@ -1,2 +0,0 @@
1
- [install]
2
- registry = "https://registry.npmmirror.com/"