From 7a0c2acdf64f2d226b5d121ac838db7512689918 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Wed, 29 Mar 2023 19:02:22 +0200 Subject: [PATCH] client: reposition drive search toggle --- packages/client/src/components/drive.vue | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/packages/client/src/components/drive.vue b/packages/client/src/components/drive.vue index 1dff1e585..c2dc09257 100644 --- a/packages/client/src/components/drive.vue +++ b/packages/client/src/components/drive.vue @@ -24,7 +24,8 @@ {{ folder.name }} - + +
- - - - + (defaultStore.state.keepOriginalUploading); let searchName = $ref(''); let sort = $ref(undefined); +let showSearch = $ref(false); // ドロップされようとしているか let draghover = $ref(false); @@ -636,6 +635,10 @@ onBeforeUnmount(() => { margin-left: auto; padding: 0 12px; } + + > .showSearch { + color: var(--accent); + } } > .main { @@ -651,6 +654,10 @@ onBeforeUnmount(() => { height: calc(100% - 38px - 100px); } + .search { + margin-bottom: var(--margin); + } + .contents { display: grid; grid-template-columns: repeat(5, 1fr);