Skip to content

Commit 81c0dde

Browse files
ErioldDaniel Montoya
andauthored
fix(coursefuture): se corrige zindex que no funciona en cv (#657)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent e85c02a commit 81c0dde

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/organisms/CourseList/components/Header.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ export function Header(): JSX.Element {
2121
return (
2222
<Box
2323
as="header"
24-
bgPos="center"
25-
bgSize="cover"
2624
height="8.75rem"
2725
borderBottom={vars('borders-light')}
2826
pos="relative"
@@ -37,7 +35,7 @@ export function Header(): JSX.Element {
3735
backgroundSize: 'cover',
3836
backgroundPosition: 'center',
3937
opacity: soonCourse?.show ?? false ? 0.3 : 1,
40-
zIndex: -1,
38+
zIndex: 0,
4139
}}
4240
>
4341
<Box p="1rem" display="flex" gap="0.625rem">
@@ -50,7 +48,7 @@ export function Header(): JSX.Element {
5048
</Label>
5149
)}
5250
{labels !== undefined && labels.length > 0 && (
53-
<Stack direction="row" spacing=".625rem" wrap="wrap">
51+
<Stack direction="row" spacing=".625rem" wrap="wrap" zIndex={2}>
5452
{labels.map((item, index) => (
5553
<Label
5654
key={index}
@@ -62,7 +60,7 @@ export function Header(): JSX.Element {
6260
</Stack>
6361
)}
6462
{soonCourse?.show && soonCourse?.text && (
65-
<Stack direction="row" spacing=".625rem" wrap="wrap">
63+
<Stack direction="row" spacing=".625rem" wrap="wrap" zIndex={2}>
6664
<Label>{soonCourse.text}</Label>
6765
</Stack>
6866
)}

0 commit comments

Comments
 (0)