Skip to content

Commit 665e0c4

Browse files
fix(PDYE-1288): ajuste alineacion notificacion evento (#723)
Co-authored-by: Javiera Munita <javiera.munita@eclass.cl>
1 parent 99254d8 commit 665e0c4

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/organisms/Calendar/EventsList/EventsList.tsx

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ export const EventsList = ({
4242
].includes(type)
4343

4444
const dateTextStyle = {
45+
color: vars('colors-neutral-white'),
4546
fontSize: '14px',
4647
fontWeight: '700',
47-
color: vars('colors-neutral-white'),
4848
lineHeight: '100%',
4949
}
5050

@@ -81,14 +81,24 @@ export const EventsList = ({
8181

8282
<Box display="flex" flexDirection="column" gap="8px" w="100%">
8383
<Box
84-
lineHeight="21px"
85-
display="flex"
86-
justifyContent="space-between"
8784
alignItems="center"
85+
display="flex"
8886
fontSize="16px"
8987
fontWeight="700"
88+
justifyContent="space-between"
89+
lineHeight="21px"
90+
sx={{
91+
'>span': {
92+
width: 'calc(100% - 12px)',
93+
},
94+
'>svg': {
95+
alignSelf: 'flex-start',
96+
},
97+
}}
9098
>
91-
{name} {hasNotification && <NotificationIcon />}
99+
<span>{name}</span>
100+
{hasNotification && <NotificationIcon />}
101+
<NotificationIcon />
92102
</Box>
93103

94104
{showCourse && !initOrEnd && (

0 commit comments

Comments
 (0)