Skip to content

Commit ed8886e

Browse files
fix(PDYE-1119): exports calendario (#666)
Co-authored-by: Javiera Munita <javiera.munita@eclass.cl>
1 parent 9538418 commit ed8886e

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const CalendarDropdownContainer = ({
5252
},
5353

5454
'.chakra-menu__menu-list': {
55+
padding: '0',
5556
position: 'absolute',
5657
width: isMobile ? '100vw' : '500px',
5758
maxHeight: isMobile ? 'calc(100vh - 62px)' : 'auto',

src/organisms/Calendar/Dropdown/CalendarDropdown/Components/Header.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ export const Header = ({ text, isMobile }: { text?: string; isMobile: boolean })
2020
{text ?? 'Próximas fechas importantes de tus cursos'}
2121
</Box>
2222
<Box
23+
className="arrow"
2324
aria-hidden
2425
borderBottom="12px solid #5C5C5C"
2526
borderLeft="14px solid transparent"
2627
borderRight="14px solid transparent"
27-
className="arrow"
28+
display={isMobile ? 'none' : 'block'}
2829
height="0"
29-
position="absolute"
30-
right={isMobile ? '71px' : '61px'}
31-
top="-9px"
30+
position="fixed"
31+
right={isMobile ? '71px' : '-437px'}
32+
top={isMobile ? '54px' : '-9px'}
3233
width="0"
3334
/>
3435
</>

src/organisms/Calendar/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { CalendarDropdown } from './Dropdown/CalendarDropdown'
2+
export { EventsList } from './EventsList/EventsList'

src/organisms/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ export * from './Alerts'
33
export * from './ModalAlert'
44
export * from './Events'
55
export * from './Resources'
6+
export * from './Calendar'

0 commit comments

Comments
 (0)