diff --git a/frontend/src/app.rs b/frontend/src/app.rs index 4214baf..5922a45 100644 --- a/frontend/src/app.rs +++ b/frontend/src/app.rs @@ -11,35 +11,39 @@ pub fn App() -> impl IntoView { crate::store::provide_torrent_store(); view! { -
- + // Main app wrapper - ensures proper stacking context +
+ // Drawer layout +
+ -
- // Toolbar at the top - +
+ // Toolbar at the top + -
- - - } /> - "Settings Page (Coming Soon)"
} /> - - - +
+ + + } /> + "Settings Page (Coming Soon)"
} /> + + + - // Status Bar at the bottom - -
+ // Status Bar at the bottom + +
-
- - + + // Toast container - fixed positioning relative to viewport +
- - // Toast container - outside drawer for correct fixed positioning - } } diff --git a/frontend/src/components/toast.rs b/frontend/src/components/toast.rs index caac577..012a520 100644 --- a/frontend/src/components/toast.rs +++ b/frontend/src/components/toast.rs @@ -71,16 +71,22 @@ pub fn ToastContainer() -> impl IntoView { let notifications = store.notifications; view! { -
+ // Fixed to viewport with explicit inset values for reliable positioning +
+
+ +
} } />