From a18e0daf4bd99f1e99669b71c0f824a225715b88 Mon Sep 17 00:00:00 2001 From: naskya Date: Tue, 12 Sep 2023 21:50:08 +0000 Subject: [PATCH] feat: sticky drive header This makes it easy to get files out of a folder to the parent directory. --- packages/client/src/components/MkDrive.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/client/src/components/MkDrive.vue b/packages/client/src/components/MkDrive.vue index 28204fe86..c5dec32bc 100644 --- a/packages/client/src/components/MkDrive.vue +++ b/packages/client/src/components/MkDrive.vue @@ -782,6 +782,8 @@ onBeforeUnmount(() => { overflow: auto; font-size: 0.9em; box-shadow: 0 1px 0 var(--divider); + position: fixed; + background-color: var(--bg); &, * { @@ -841,6 +843,7 @@ onBeforeUnmount(() => { flex: 1; overflow: auto; padding: var(--margin); + margin-top: 40px; &, * {