Skip to content

Commit 1eaca5b

Browse files
committed
clean up
1 parent d747e28 commit 1eaca5b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/components/ViewEntryDialog.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog';
44
import { Button } from '@/components/ui/button';
5-
import { X } from 'lucide-react';
65
import { MorningMeetingEntry, PRIORITIES } from '@/types/morning-meeting';
76
import { getPriorityBadgeClass } from '@/lib/useEntriesFilter';
87

@@ -15,11 +14,6 @@ interface ViewEntryDialogProps {
1514
export 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

Comments
 (0)