From e1c553c5f16649766c4065f6a93cf2cb417a9875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Volf?= <66163112+matous-volf@users.noreply.github.com> Date: Sun, 8 Sep 2024 19:46:59 +0200 Subject: [PATCH] feat: allow vertical scrolling in the bottom panel --- src/components/bottom_panel.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/bottom_panel.rs b/src/components/bottom_panel.rs index 6ba931a..ccda1db 100644 --- a/src/components/bottom_panel.rs +++ b/src/components/bottom_panel.rs @@ -36,11 +36,11 @@ pub(crate) fn BottomPanel(display_form: Signal) -> Element { rsx! { div { class: format!( - "pointer-events-auto bg-zinc-700/50 rounded-t-xl border-t-zinc-600 border-t backdrop-blur drop-shadow-[0_-5px_10px_rgba(0,0,0,0.2)] transition-[height] duration-[500ms] ease-[cubic-bezier(0.79,0.14,0.15,0.86)] {}", + "pointer-events-auto bg-zinc-700/50 rounded-t-xl border-t-zinc-600 border-t backdrop-blur drop-shadow-[0_-5px_10px_rgba(0,0,0,0.2)] transition-[height] duration-[500ms] ease-[cubic-bezier(0.79,0.14,0.15,0.86)] overflow-y-scroll {}", match (display_form(), current_route, navigation_expanded()) { - (false, _, false) => "h-[64px]", - (false, _, true) => "h-[128px]", - (true, Route::ProjectsPage, _) => "h-[128px]", + (false, _, false) => "h-[66px]", + (false, _, true) => "h-[130px]", + (true, Route::ProjectsPage, _) => "h-[130px]", (true, _, _) => "h-[448px]", } ),