@@ -80,18 +80,19 @@ export const CalendarDropdownContainer = ({
80
80
sx = { {
81
81
// Pseudo-elemento para la flecha
82
82
'&::after' : {
83
- content : '""' ,
84
- position : 'absolute' ,
85
- width : '0' ,
86
- height : '0' ,
87
- borderColor : `transparent transparent ${ vars ( 'colors-neutral-davysGrey' ) ?? '#5C5C5C' }
88
- transparent` ,
83
+ borderColor : `transparent transparent ${
84
+ vars ( 'colors-neutral-davysGrey' ) ?? '#5C5C5C'
85
+ } transparent`,
89
86
borderStyle : 'solid' ,
90
87
borderWidth : '0 11px 10px 11px' ,
91
- top : isMobile ? '30px' : '30px' ,
92
- right : isMobile ? '3px' : '15px' ,
88
+ content : '""' ,
93
89
display : isMenuOpen ? 'block' : 'none' ,
94
- transform : isMobile ? 'none' : 'translateX(50%)' ,
90
+ height : '0' ,
91
+ left : '50%' ,
92
+ position : 'absolute' ,
93
+ top : '30px' ,
94
+ transform : 'translateX(-50%)' ,
95
+ width : '0' ,
95
96
} ,
96
97
// Se genera pseudo elemento que actúa como ícono de notificación
97
98
'&.hasNew::before' : {
@@ -107,28 +108,28 @@ export const CalendarDropdownContainer = ({
107
108
zIndex : '1' ,
108
109
} ,
109
110
'>div' : {
110
- position : isMobile ? 'fixed !important' : 'absolute' ,
111
111
left : isMobile ? '0 !important' : 'auto' ,
112
+ position : isMobile ? 'fixed !important' : 'absolute' ,
112
113
top : isMobile ? '62px !important' : 'auto' ,
113
114
transform : isMobile ? 'none !important' : 'translate3d(-409px, 38px, 0px) !important' ,
114
115
} ,
115
116
116
117
'.chakra-menu__menu-list' : {
117
- padding : '0' ,
118
- position : 'absolute' ,
119
- left : isMobile ? 'auto' : '-30px' ,
120
- top : isMobile ? '-6px !important' : 'auto' ,
121
- width : isMobile ? '100vw' : '500px' ,
122
- maxHeight : isMobile ? 'calc(100vh - 62px)' : 'auto' ,
123
- overflowY : isMobile ? 'auto' : 'hidden' ,
118
+ animation : 'none !important' ,
124
119
background : 'transparent' ,
125
120
border : 'none' ,
126
121
borderRadius : isMobile ? '0' : '10px' ,
127
122
boxShadow : isMobile ? 'none' : 'rgba(47, 47, 47, 0.2) -1px 6px 40px 0px' ,
128
- animation : 'none !important' ,
129
- transition : 'none !important' ,
130
- transform : 'none !important' ,
123
+ left : isMobile ? 'auto' : '-30px' ,
124
+ maxHeight : isMobile ? 'calc(100vh - 62px)' : 'auto' ,
131
125
opacity : '1 !important' ,
126
+ overflowY : isMobile ? 'auto' : 'hidden' ,
127
+ padding : '0' ,
128
+ position : 'absolute' ,
129
+ top : isMobile ? '-6px !important' : 'auto' ,
130
+ transform : 'none !important' ,
131
+ transition : 'none !important' ,
132
+ width : isMobile ? '100vw' : '500px' ,
132
133
} ,
133
134
'.chakra-menu__group__title' : {
134
135
fontSize : '18px' ,
0 commit comments