Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #70 from Abh1noob/master
Browse files Browse the repository at this point in the history
boundary box fix
  • Loading branch information
aditansh authored Feb 29, 2024
2 parents 1db0386 + be6a3f2 commit 4b07146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devsoc24-landing/src/components/terminal/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function About() {
/>
</div>
) : (
<Draggable handle=".drag-handle" bounds="body">
<Draggable handle=".drag-handle" bounds=".boundarybox">
<div
className={`flex min-w-[300px] flex-grow flex-col ${maximized ? "h-[90vh]" : "h-fit w-[30vw] pb-10"} border-2 bg-[#b2b2b2]`}
>
Expand Down
6 changes: 3 additions & 3 deletions devsoc24-landing/src/pages/terminal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,16 @@ export default function Home() {
</button>
</Link>
</div>
<div className="flex flex-col-reverse md:flex-row ">
<div className="flex flex-col-reverse md:flex-row">
{showTerminal ? (
<div className="fixed bottom-0 z-50 bg-white md:relative md:min-h-[96vh] md:w-[20vw]">
<div className="fixed bottom-0 z-50 md:relative md:min-h-[96vh] md:w-[20vw]">
<Terminal />
</div>
) : (
<></>
)}

<div className="flex flex-col">
<div className="flex flex-col boundarybox w-full">
<div className="z-10 hidden h-min md:flex">
{/* <div
className="flex w-[120px] cursor-pointer items-center justify-center border-r-2 border-[#000000] bg-[#d2d1d1] py-1 text-xs font-semibold"
Expand Down

0 comments on commit 4b07146

Please sign in to comment.