Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hackmit2024/frontend/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'ui-sans-serif', 'system-ui', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

@layer utilities {
Expand Down
4 changes: 2 additions & 2 deletions hackmit2024/frontend/app/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ export default function SearchPage() {
<div className="grid grid-cols-4 overflow-hidden max-h-full h-full ">
{/* Left sidebar */}
<aside className="col-span-1 bg-slate-100 overflow-y-auto">
<h2 className="text-lg border-t-2 font-semibold p-6 bg-white text-black mb-4">
Your explorations
<h2 className="text-lg border-t-2 font-semibold p-4 bg-white text-black ">
Your Exploration
</h2>
<div className="p-4">
<BigAccordion data={bigAccordionDummyData} />
Expand Down
7 changes: 4 additions & 3 deletions hackmit2024/frontend/components/custom/accordiannode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export function AccordionNode(props: AccordionNodeProps) {
const y = rect.top + window.scrollY;

console.log(`Accordion clicked at x: ${x}, y: ${y}`);
// Optionally update the position state
props.setPosition({ x, y });
}
};
Expand All @@ -42,7 +41,7 @@ export function AccordionNode(props: AccordionNodeProps) {
</Typography>
</AccordionTrigger>
<Box sx={accordionChildStyle}>
<AccordionContent className="ml-2">{props.children}</AccordionContent>
<AccordionContent className="ml-4">{props.children}</AccordionContent>
</Box>
</AccordionItem>
</Accordion>
Expand All @@ -55,5 +54,7 @@ const accordionChildStyle = {

const accordionTextStyle = {
color: textBlack,
fontSize: "14px"
fontSize: "14px",
marginLeft: "8px"

}