From 4586f1c22c3dc3237ea5da07067c8e748ac24d7e Mon Sep 17 00:00:00 2001 From: gosangam Date: Thu, 2 Jul 2026 23:25:40 +0530 Subject: [PATCH] fix: offline content layout fix --- app/(app)/offline-content/page.tsx | 74 ++++++++++++++++-------------- 1 file changed, 39 insertions(+), 35 deletions(-) diff --git a/app/(app)/offline-content/page.tsx b/app/(app)/offline-content/page.tsx index 9285d505..7bf1165c 100644 --- a/app/(app)/offline-content/page.tsx +++ b/app/(app)/offline-content/page.tsx @@ -22,7 +22,6 @@ import { Wifi, WifiOff, } from "lucide-react"; -import { PageHeader } from "@/components/layout/page-header"; import { listOffline, offlineSupported, @@ -104,36 +103,38 @@ export default function OfflineContentPage() { return ( <> - -

Offline library

-

- Pages and lectures you’ve saved to read or listen to without a - connection. Stored on this device. -

-
- - {online ? ( - - ) : ( - - )} - {online ? "Online" : "Offline"} - - {usage !== null && ( - - - {formatBytes(usage)} used +
+
+

Offline library

+

+ Pages and lectures you’ve saved to read or listen to without a + connection. Stored on this device. +

+
+ + {online ? ( + + ) : ( + + )} + {online ? "Online" : "Offline"} - )} + {usage !== null && ( + + + {formatBytes(usage)} used + + )} +
- +
-
+
{!supported ? (

This browser doesn’t support offline saving. @@ -152,24 +153,27 @@ export default function OfflineContentPage() {

) : ( -