Merge branch 'fix/drive' into 'develop'

fix: 🐛 Fix MkDrive nav header on drive.vue


See merge request firefish/firefish!10650
This commit is contained in:
Kainoa Kanter 2023-12-06 03:31:56 +00:00
commit f0391d0769
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="yfudmmck">
<nav>
<nav :style="fullPageHeader ? '' : {'position': 'fixed'}">
<div class="path" @contextmenu.prevent.stop="() => {}">
<XNavFolder
:class="{ current: folder == null }"
@ -157,10 +157,12 @@ const props = withDefaults(
type?: string;
multiple?: boolean;
select?: "file" | "folder" | null;
fullPageHeader?: boolean;
}>(),
{
multiple: false,
select: null,
fullPageHeader: false,
},
);
@ -786,7 +788,6 @@ onBeforeUnmount(() => {
overflow: auto;
font-size: 0.9em;
box-shadow: 0 1px 0 var(--divider);
position: fixed;
background-color: var(--bg);
&,

View File

@ -1,6 +1,6 @@
<template>
<div>
<XDrive ref="drive" @cd="(x) => (folder = x)" />
<XDrive ref="drive" @cd="(x) => (folder = x)" :fullPageHeader="true" />
</div>
</template>