Skip to content

Commit d15896e

Browse files
authored
Update main.css
1 parent 33a51eb commit d15896e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

  • {{ cookiecutter.repo_directory }}/assets/css

{{ cookiecutter.repo_directory }}/assets/css/main.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,3 +326,20 @@ header.header {
326326
}
327327
}
328328

329+
/* --- Fix clickability: ensure hero content is above the mask --- */
330+
.hero-split {
331+
z-index: 2; /* ABOVE the mask */
332+
}
333+
334+
.hero-panel-text {
335+
z-index: 3; /* ABOVE everything in hero */
336+
}
337+
338+
.hero-panel-image {
339+
z-index: 2;
340+
}
341+
342+
/* Mask should never intercept clicks */
343+
.hero-block-mask {
344+
pointer-events: none;
345+
}

0 commit comments

Comments
 (0)