fix: photo URLs (CDN_HOST), booking conflict excludes checked_out, sync label, context menu overflow

This commit is contained in:
2026-03-24 19:46:45 +03:00
parent 9a2e45b4c4
commit 0aaf26cbd1
3 changed files with 5 additions and 5 deletions

View File

@@ -131,8 +131,8 @@ export function RoomContextMenu({ room, x, y, onClose, onStatusChange, onHkStatu
return createPortal(
<div
ref={ref}
className="fixed z-[9999] w-60 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-600 rounded-xl shadow-xl overflow-hidden select-none"
style={{ left: menuX, top: menuY }}
className="fixed z-[9999] w-60 bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-600 rounded-xl shadow-xl overflow-y-auto select-none"
style={{ left: menuX, top: menuY, maxHeight: `${Math.min(window.innerHeight - menuY - 16, window.innerHeight * 0.9)}px` }}
onContextMenu={e => e.preventDefault()}
>
{/* Header */}