Skip to content

Commit

Permalink
fixed css
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavya Khatri committed Sep 18, 2024
1 parent 76d8356 commit af5a5c0
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions frontend/src/components/tutorial/Tutorial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ const Tutorial = () => {
alt="Not Found"
/>
</div>
<div className="list flex flex-col items-center justify-center w-[25%]">
<div className="list flex flex-col items-center justify-center w-[30%] mr-10">
<div className="border-black border-2 h-auto m-10 w-full mr-4 bg-[#756C80] rounded-md">
<div className="bg-white m-2 rounded-md w-auto h-auto mb-6 flex flex-col items-start">
<div className="bg-white m-2 rounded-md w-full h-auto mb-6 flex flex-col items-start"> {/* Add `overflow-auto` */}
{listModules}
<button></button>
</div>
Expand All @@ -63,17 +63,22 @@ const Tutorial = () => {
<div className="flex flex-col align-top justify-end">
<button
onClick={prevTip}
className="gba bg-[#317370] p-2 text-8xl w-40 h-40 rounded-full hover:bg-[#317888] text-white m-5"
className="gba bg-[#317370] p-2 text-8xl w-40 h-40 rounded-full hover:bg-[#317888] text-white m-5 relative"
>
B
<span className="absolute top-[52%] left-[51%] transform -translate-x-[35%] -translate-y-1/2">
B
</span>

</button>
</div>
<div>
<div className="relative right-[7%]">
<button
onClick={nextTip}
className="gba bg-[#317370] p-2 text-8xl w-40 h-40 rounded-full hover:bg-[#317888] text-white m-5"
className="gba bg-[#317370] p-2 text-8xl w-40 h-40 rounded-full hover:bg-[#317888] text-white m-5 relative mr-20"
>
A
<span className="absolute top-[52%] left-[51%] transform -translate-x-[35%] -translate-y-1/2">
A
</span>
</button>
</div>
</div>
Expand Down

0 comments on commit af5a5c0

Please sign in to comment.