fix(quests): fix island rendering problems on desktop view

This commit is contained in:
shafin-r
2026-03-11 00:59:31 +06:00
parent c09ecd7926
commit 575d392afc
5 changed files with 1505 additions and 686 deletions

File diff suppressed because it is too large Load Diff

View File

@ -220,7 +220,7 @@ export function StudentLayout() {
<div className="flex flex-col flex-1 min-w-0">
{/* Extra bottom padding so content clears the floating dock */}
<main className="flex-1 pb-24 md:pb-0">
<main className="flex-1 md:pb-0">
<Outlet />
</main>
</div>

View File

@ -1684,6 +1684,15 @@ export const Test = () => {
</p>
</div>
)}
{currentQuestion?.context_image_url !== "NULL" && (
<div className="t-card p-6">
<img
src={currentQuestion?.context_image_url}
alt="Context"
className="w-full h-auto"
/>
</div>
)}
<div className="t-card t-card-purple p-6">
<p className="font-bold text-lg text-[#1e1b4b] leading-relaxed">
{currentQuestion?.text &&