Skip to content

Commit af24317

Browse files
ErioldDaniel Montoya
andauthored
fix(coursefuture): se corrige el zindex para usuarios admin (#658)
Co-authored-by: Daniel Montoya <daniel.montoya@eclass.cl>
1 parent 6ff1ad9 commit af24317

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

src/organisms/CourseList/components/Header.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function Header(): JSX.Element {
3838
zIndex: 0,
3939
}}
4040
>
41-
<Box p="1rem" display="flex" gap="0.625rem">
41+
<Box p="1rem" display="flex" gap="0.625rem" position="absolute" zIndex={2}>
4242
{profile?.id !== STUDENT && (
4343
<Label bg={vars('colors-neutral-white')} m="0 0 .625rem 0">
4444
<Flex>
@@ -78,6 +78,7 @@ export function Header(): JSX.Element {
7878
overflow="hidden"
7979
borderRadius={vars('radii-small')}
8080
w="6.25rem"
81+
zIndex={2}
8182
>
8283
<Image src={logo} alt={logoAlt ?? 'logo'} maxHeight="3.5rem" maxWidth="6.25rem" />
8384
</Center>

src/organisms/CourseList/utils/dataFake.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,42 @@ export const dataStates: any = {
871871
show: true,
872872
text: 'Próximamente',
873873
},
874+
labels: [],
875+
},
876+
proximamente2: {
877+
...dataBase,
878+
id: 23,
879+
hasFinanzeFreezed: false,
880+
status: {
881+
...dataBase.status,
882+
id: 3,
883+
name: 'inscripcion',
884+
},
885+
progress: {
886+
...dataBase.progress,
887+
label: 'Tu curso iniciara el Lunes 16 de Enero de 2023',
888+
icon: 'schedule',
889+
},
890+
dateStatus: {
891+
...dataBase.dateStatus,
892+
hasDates: true,
893+
},
894+
information: [
895+
{
896+
icon: 'certificate',
897+
text: 'Certificado por ACHS',
898+
href: '',
899+
},
900+
],
901+
action: {
902+
...dataBase.action,
903+
text: 'Ver informacion del curso',
904+
targetBlank: true,
905+
},
906+
soonCourse: {
907+
show: true,
908+
text: 'Próximamente',
909+
},
874910
labels: [
875911
{
876912
id: 'OBLIGATORY',

0 commit comments

Comments
 (0)