@xenterprises/nuxt-x-marketing 1.15.3 → 1.15.4

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/CHANGELOG.md CHANGED
@@ -30,6 +30,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
30
30
  section and its sample product data were dropped with them. Every other section of the
31
31
  demo page is unchanged.
32
32
 
33
+ ## [1.15.4] - 2026-10-21
34
+
35
+ ### Fixed
36
+
37
+ - **`XMarkHero` subtitle centring with `align="center"`.** The subtitle's `max-w-2xl` box sat at
38
+ the left of the `max-w-3xl` text column, so a centred subtitle was 48px left of centre at
39
+ 1024px and up (24px at 768px). The subtitle now gets `mx-auto` when `align="center"` (prop or
40
+ `#subtitle` slot), so its box and text are centred on the column. Title and CTA were already
41
+ centred and are unchanged. `align="left"` (default) and `align="right"`: body HTML identical to
42
+ 1.15.3 and 0 px difference at 1440x900, 1024x768, 768x1024, 390x844 and 375x667. Centred heroes
43
+ below about 720px wide are also 0 px (the box already fills the column).
44
+
33
45
  ## [1.15.3] - 2026-10-20
34
46
 
35
47
  ### Added (opt-in)
@@ -102,6 +102,7 @@
102
102
  <p
103
103
  v-if="subtitle || $slots.subtitle"
104
104
  class="mt-6 text-xl text-white/80 max-w-2xl"
105
+ :class="{ 'mx-auto': align === 'center' }"
105
106
  >
106
107
  <slot name="subtitle">{{ subtitle }}</slot>
107
108
  </p>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@xenterprises/nuxt-x-marketing",
3
3
  "license": "SEE LICENSE IN LICENSE",
4
4
  "type": "module",
5
- "version": "1.15.3",
5
+ "version": "1.15.4",
6
6
  "main": "./nuxt.config.ts",
7
7
  "scripts": {
8
8
  "dev": "nuxi dev .playground",