From 6945288b90613b2f5782eac7bf4c441e5ee6a42b Mon Sep 17 00:00:00 2001 From: methatronc <58328740+methatronc@users.noreply.github.com> Date: Tue, 1 Nov 2022 17:44:24 +0100 Subject: [PATCH] Makes breadcrumbs sticky In a dense folder, having to go back up to change the directory is time consuming : I propose to make the breadcrumbs sticky for practicity. Tested on mobile/tablet/desktop with chromium browser ( edge ), safari and firefox. --- frontend/public/themes/dark.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/public/themes/dark.css b/frontend/public/themes/dark.css index 98353831..8d1ae7ce 100644 --- a/frontend/public/themes/dark.css +++ b/frontend/public/themes/dark.css @@ -72,6 +72,11 @@ nav > div { .breadcrumbs { border-color: var(--divider); color: var(--textPrimary) !important; + position: -webkit-sticky !important; + position: sticky !important; + top: 64px; + z-index: 1000; + background: var(--background); } .breadcrumbs span { color: var(--textPrimary) !important; @@ -208,4 +213,4 @@ table th { .share__box__element { border-top-color: var(--divider); -} \ No newline at end of file +}