specra 0.2.1 → 0.2.2

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.
@@ -9,7 +9,7 @@
9
9
  let { title, children }: Props = $props();
10
10
  </script>
11
11
 
12
- <div class="step-item relative pl-8 pb-6 border-l-2 border-border last:border-l-0 last:pb-0">
12
+ <div class="step-item relative pl-8 pb-8 border-l-2 border-border last:border-l-0 last:pb-0">
13
13
  <div class="mb-2">
14
14
  <h3 class="text-lg font-semibold text-foreground">{title}</h3>
15
15
  </div>
@@ -27,7 +27,8 @@
27
27
  .step-item::before {
28
28
  content: counter(step);
29
29
  position: absolute;
30
- left: 0;
30
+ top: 0;
31
+ left: -1px;
31
32
  transform: translateX(-50%);
32
33
  width: 2rem;
33
34
  height: 2rem;
@@ -8,7 +8,7 @@
8
8
  let { children }: Props = $props();
9
9
  </script>
10
10
 
11
- <div class="my-6 ml-4 space-y-6" style="counter-reset: step;">
11
+ <div class="my-6 ml-4" style="counter-reset: step;">
12
12
  {#if children}
13
13
  {@render children()}
14
14
  {/if}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specra",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A modern documentation library for SvelteKit with built-in versioning, API reference generation, full-text search, and MDX support",
5
5
  "svelte": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",