refactor(ui): switch to inline styles for safe-area padding (simpler approach)

This commit is contained in:
spinline
2026-02-06 13:19:02 +03:00
parent e10b252eff
commit 22672f7aaa
3 changed files with 2 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ pub fn Sidebar() -> impl IntoView {
};
view! {
<div class="w-64 h-full flex flex-col bg-base-200 border-r border-base-300 pt-safe-top">
<div class="w-64 h-full flex flex-col bg-base-200 border-r border-base-300" style="padding-top: env(safe-area-inset-top);">
<div class="p-2">
<ul class="menu w-full rounded-box gap-1">
<li class="menu-title text-primary uppercase font-bold px-4">"Filters"</li>