fix(quests): fix island rendering problems on desktop view
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -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>
|
||||
|
||||
@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user