fix(ui): restore h-screen with dvh fallback for correct layout and scrolling

This commit is contained in:
spinline
2026-02-01 17:36:34 +03:00
parent 8f8a08fd2c
commit 89ab0c4ad6

View File

@@ -10,10 +10,10 @@ pub fn App() -> impl IntoView {
crate::store::provide_torrent_store(); crate::store::provide_torrent_store();
view! { view! {
<div class="drawer lg:drawer-open"> <div class="drawer lg:drawer-open h-screen w-full" style="height: 100dvh;">
<input id="my-drawer" type="checkbox" class="drawer-toggle" /> <input id="my-drawer" type="checkbox" class="drawer-toggle" />
<div class="drawer-content flex flex-col h-[100dvh] overflow-hidden bg-base-100 text-base-content text-sm select-none"> <div class="drawer-content flex flex-col h-full overflow-hidden bg-base-100 text-base-content text-sm select-none">
// Toolbar at the top // Toolbar at the top
<Toolbar /> <Toolbar />