fix: 🐛 Fix MkDrive nav header on drive.vue
This commit is contained in:
parent
afe0e8b4b3
commit
7db4e06093
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="yfudmmck">
|
<div class="yfudmmck">
|
||||||
<nav>
|
<nav :style="fullPageHeader ? '' : {'position': 'fixed'}">
|
||||||
<div class="path" @contextmenu.prevent.stop="() => {}">
|
<div class="path" @contextmenu.prevent.stop="() => {}">
|
||||||
<XNavFolder
|
<XNavFolder
|
||||||
:class="{ current: folder == null }"
|
:class="{ current: folder == null }"
|
||||||
@ -157,10 +157,12 @@ const props = withDefaults(
|
|||||||
type?: string;
|
type?: string;
|
||||||
multiple?: boolean;
|
multiple?: boolean;
|
||||||
select?: "file" | "folder" | null;
|
select?: "file" | "folder" | null;
|
||||||
|
fullPageHeader?: boolean;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
multiple: false,
|
multiple: false,
|
||||||
select: null,
|
select: null,
|
||||||
|
fullPageHeader: false,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -786,7 +788,6 @@ onBeforeUnmount(() => {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
box-shadow: 0 1px 0 var(--divider);
|
box-shadow: 0 1px 0 var(--divider);
|
||||||
position: fixed;
|
|
||||||
background-color: var(--bg);
|
background-color: var(--bg);
|
||||||
|
|
||||||
&,
|
&,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<XDrive ref="drive" @cd="(x) => (folder = x)" />
|
<XDrive ref="drive" @cd="(x) => (folder = x)" :fullPageHeader="true" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user