From 669623adbe8901142c0bbb86a556afa67b1a243f Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Wed, 8 Apr 2026 10:38:36 +0200 Subject: [PATCH] feat(layout): add a sticky page header - keep action bar, breadcrumb, dropzone visible even during scroll down --- static/css/layout/content.css | 9 ++++ static/index.html | 97 ++++++++++++++++++----------------- 2 files changed, 59 insertions(+), 47 deletions(-) diff --git a/static/css/layout/content.css b/static/css/layout/content.css index 3bb12d61..1d67d6fd 100644 --- a/static/css/layout/content.css +++ b/static/css/layout/content.css @@ -13,6 +13,15 @@ color: #2d3748; } +.page-sticky-header { + position: sticky; + margin: 0px; + padding: 10px 0px; + top: -20px; /* due to padding top of content-area */ + background-color: var(--color-bg-page); + z-index: 100; /* ensure header is above image preview */ +} + .actions-bar { display: flex; justify-content: space-between; diff --git a/static/index.html b/static/index.html index a4af491e..43ea4bbb 100644 --- a/static/index.html +++ b/static/index.html @@ -6,7 +6,7 @@ OxiCloud - + @@ -204,57 +204,60 @@

Files

-
-
-
- +
+ + +
+
+ -
- - +
+ +
+ + +
+
+ + + + +
+ +

Drag files here or click to select

+ + +
+
+
-
-
- - -
-
- - - -
- -

Drag files here or click to select

- - -
-
-
-
-
-
- -