Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
@@ -5,7 +5,7 @@ import { MiniCalendar } from '../MiniCalendar'
|
|||||||
import { CalendarSidebarProps } from './SideBar'
|
import { CalendarSidebarProps } from './SideBar'
|
||||||
import { SidebarCommonContent } from './SidebarCommonContent'
|
import { SidebarCommonContent } from './SidebarCommonContent'
|
||||||
|
|
||||||
export function DesktopSidebar({
|
export const DesktopSidebar: React.FC<CalendarSidebarProps> = ({
|
||||||
calendarRef,
|
calendarRef,
|
||||||
isIframe,
|
isIframe,
|
||||||
onCreateEvent,
|
onCreateEvent,
|
||||||
@@ -15,7 +15,7 @@ export function DesktopSidebar({
|
|||||||
setTempUsers,
|
setTempUsers,
|
||||||
selectedCalendars,
|
selectedCalendars,
|
||||||
setSelectedCalendars
|
setSelectedCalendars
|
||||||
}: CalendarSidebarProps) {
|
}) => {
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -30,7 +30,7 @@ export function DesktopSidebar({
|
|||||||
paddingLeft: 3,
|
paddingLeft: 3,
|
||||||
paddingRight: 2,
|
paddingRight: 2,
|
||||||
width: '270px',
|
width: '270px',
|
||||||
marginTop: '70px'
|
marginTop: isIframe ? 0 : '70px'
|
||||||
},
|
},
|
||||||
zIndex: 5
|
zIndex: 5
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user