fix(ui): fix exam screen layout, bottom navigation tabs

This commit is contained in:
shafin-r
2025-07-07 13:57:04 +06:00
parent 06418a82ab
commit 48519c42c3
4 changed files with 24 additions and 16 deletions

View File

@ -78,7 +78,7 @@ export default function PretestPage() {
return (
<BackgroundWrapper>
<div className="min-h-screen flex flex-col justify-between">
<div className="flex-1 overflow-y-auto">
<div className="flex-1 overflow-y-auto mb-20">
{metadata ? (
<div className="mx-10 mt-10 gap-6 pb-6 space-y-6">
<button onClick={() => router.push("/unit")}>
@ -171,7 +171,7 @@ export default function PretestPage() {
</div>
<button
className="w-full bg-[#113768] h-[78px] flex justify-center items-center border border-transparent text-white font-bold text-2xl hover:bg-[#0d2a52] transition-colors"
className="fixed bottom-0 w-full bg-[#113768] h-[78px] flex justify-center items-center border border-transparent text-white font-bold text-2xl hover:bg-[#0d2a52] transition-colors"
onClick={() => {
if (metadata) {
router.push(`/exam/${id}?time=${metadata.metadata.duration}`);