Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed css #26

Merged
merged 1 commit into from
Sep 18, 2024
Merged
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
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
Loading