community增加事件详情

This commit is contained in:
2026-01-07 15:37:13 +08:00
parent c05def335f
commit 56c8de352d

View File

@@ -442,13 +442,20 @@ export const FullCalendarPro: React.FC<FullCalendarProProps> = ({
minHeight: '110px', minHeight: '110px',
}, },
'.fc-daygrid-day-top': { '.fc-daygrid-day-top': {
display: 'none', // 隐藏默认日期显示,使用自定义 // 保留容器,让 dayCellContent 正常显示
width: '100%',
padding: '0 !important',
}, },
// 隐藏默认的日期数字链接
'.fc-daygrid-day-number': { '.fc-daygrid-day-number': {
display: 'none', // 隐藏默认数字 display: 'none !important',
}, },
'.fc-day-today .fc-daygrid-day-number': { // dayCellContent 占满整个顶部区域
display: 'none', '.fc-daygrid-day-top > a': {
display: 'none !important', // 隐藏默认链接
},
'.fc-daygrid-day-top > div': {
width: '100%', // 让自定义内容占满宽度
}, },
// 非当月日期 // 非当月日期
'.fc-day-other': { '.fc-day-other': {