srcdev-nuxt-components 9.3.9 → 9.3.11

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.
@@ -25,6 +25,7 @@ const { elementClasses } = useStyleClassPassthrough(props.styleClassPassthrough)
25
25
  .grid-stack {
26
26
  display: grid;
27
27
  grid-template-areas: "stack";
28
+ grid-template-rows: 100%;
28
29
 
29
30
  .grid-stack__layer {
30
31
  grid-area: stack;
@@ -37,7 +37,7 @@ compose.
37
37
  | Token | Default | Controls |
38
38
  |---|---|---|
39
39
  | `--service-detail-hero-border-radius` | `0.8rem` | Corner rounding on the hero (clips the image/content layers — set to `0` for a true edge-to-edge bleed hero) |
40
- | `--service-detail-hero-content-align` | `end` | `align-content` of the content overlay grid — where the breadcrumb/title/pills sit within the hero's block axis (`end` = bottom-anchored) |
40
+ | `--service-detail-hero-content-align` | `end` | `align-content` on `.service-detail__hero-content` (the breadcrumb/title/pills wrapper) — where that content sits within the hero's block axis (`end` = bottom-anchored) |
41
41
  | `--service-detail-hero-min-height-mobile` | `32rem` | Hero banner height below the `768px` container breakpoint. The hero image always fills this height (`object-fit`/`object-position` control cropping) |
42
42
  | `--service-detail-hero-min-height-tablet` | `36rem` | Hero banner height from the `768px` container breakpoint |
43
43
  | `--service-detail-hero-min-height-desktop` | `42rem` | Hero banner height from the `1024px` container breakpoint |
@@ -282,6 +282,7 @@ watch(
282
282
  .service-detail__hero-image-row,
283
283
  .service-detail__hero-overlay {
284
284
  height: 100%;
285
+ grid-template-rows: 100%;
285
286
  }
286
287
  }
287
288
 
@@ -301,7 +302,6 @@ watch(
301
302
  .service-detail__hero-overlay {
302
303
  display: grid;
303
304
  height: 100%;
304
- align-content: var(--service-detail-hero-content-align, end);
305
305
  padding-block: var(--service-detail-hero-padding, 3.2rem);
306
306
  background: var(
307
307
  --service-detail-hero-scrim,
@@ -309,6 +309,9 @@ watch(
309
309
  );
310
310
 
311
311
  .service-detail__hero-content {
312
+ display: grid;
313
+ align-content: var(--service-detail-hero-content-align, end);
314
+
312
315
  .service-detail__breadcrumb {
313
316
  --breadcrumb-colour: var(--service-detail-hero-text-colour, white);
314
317
  margin-block-end: var(--service-detail-breadcrumb-margin-block-end, 0.8rem);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "9.3.9",
4
+ "version": "9.3.11",
5
5
  "main": "nuxt.config.ts",
6
6
  "types": "types.d.ts",
7
7
  "license": "MIT",