diff --git a/src/pages/ResourceCalendar.tsx b/src/pages/ResourceCalendar.tsx index 771c97a..0d4f3fc 100644 --- a/src/pages/ResourceCalendar.tsx +++ b/src/pages/ResourceCalendar.tsx @@ -252,11 +252,14 @@ const ResourceCalendar: React.FC = () => { ? '#d4edda' : isToday(day) ? '#f8f9fa' : 'white', fontSize: '0.7rem', - minHeight: '35px', + minHeight: isMobile ? '40px' : '35px', + height: isMobile ? '40px' : '35px', display: 'flex', alignItems: 'center', justifyContent: 'center', - position: 'relative' + position: 'relative', + overflow: 'hidden', + boxSizing: 'border-box' }} > {reservation && ( @@ -264,32 +267,40 @@ const ResourceCalendar: React.FC = () => { textAlign: 'center', color: '#333', fontWeight: '500', - padding: '0.2rem', + padding: '2px', width: '100%', height: '100%', overflow: 'hidden', display: 'flex', - flexDirection: 'column', - justifyContent: 'center' + alignItems: 'center', + justifyContent: 'center', + boxSizing: 'border-box' }}>