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:
commit
f0391d0769
@ -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);
|
||||
|
||||
&,
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<XDrive ref="drive" @cd="(x) => (folder = x)" />
|
||||
<XDrive ref="drive" @cd="(x) => (folder = x)" :fullPageHeader="true" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user