22
33import { Dialog , DialogContent , DialogHeader , DialogTitle } from '@/components/ui/dialog' ;
44import { Button } from '@/components/ui/button' ;
5- import { X } from 'lucide-react' ;
65import { MorningMeetingEntry , PRIORITIES } from '@/types/morning-meeting' ;
76import { getPriorityBadgeClass } from '@/lib/useEntriesFilter' ;
87
@@ -15,11 +14,6 @@ interface ViewEntryDialogProps {
1514export function ViewEntryDialog ( { open, onOpenChange, entry } : ViewEntryDialogProps ) {
1615 if ( ! entry ) return null ;
1716
18- // Debug: Log entry content
19- console . log ( 'ViewEntryDialog: Rendering entry with HTML length:' , entry . entry ?. length ) ;
20- console . log ( 'ViewEntryDialog: HTML preview:' , entry . entry ?. substring ( 0 , 500 ) ) ;
21- console . log ( 'ViewEntryDialog: Images array:' , entry . images ) ;
22-
2317 return (
2418 < Dialog open = { open } onOpenChange = { onOpenChange } >
2519 < DialogContent className = "!max-w-none w-[50vw] max-h-[90vh] flex flex-col" >
@@ -49,9 +43,9 @@ export function ViewEntryDialog({ open, onOpenChange, entry }: ViewEntryDialogPr
4943 </ DialogHeader >
5044
5145 { /* Scrollable content */ }
52- < div className = "flex-1 overflow-y-auto px-6 scrollbar-hide " style = { { scrollbarWidth : 'none' , msOverflowStyle : 'none' } } >
46+ < div className = "flex-1 overflow-y-auto px-6" style = { { scrollbarWidth : 'none' , msOverflowStyle : 'none' } } >
5347 < style > { `
54- .scrollbar-hide ::-webkit-scrollbar {
48+ ::-webkit-scrollbar {
5549 display: none;
5650 }
5751 ` } </ style >
0 commit comments