Skip to content

Commit a113fb2

Browse files
committed
fix(files): Fix non-sticky sticky views in files nav
Signed-off-by: Christopher Ng <[email protected]>
1 parent 4e95ec0 commit a113fb2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/files/src/views/Navigation.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<NcAppNavigationSearch v-model="searchQuery" :label="t('files', 'Filter filenames…')" />
1111
</template>
1212
<template #default>
13-
<NcAppNavigationList :aria-label="t('files', 'Views')">
13+
<NcAppNavigationList class="files-navigation__list"
14+
:aria-label="t('files', 'Views')">
1415
<FilesNavigationItem :views="viewMap" />
1516
</NcAppNavigationList>
1617

@@ -225,6 +226,10 @@ export default defineComponent({
225226
}
226227
227228
.files-navigation {
229+
&__list {
230+
height: 100%; // Fill all available space for sticky views
231+
}
232+
228233
:deep(.app-navigation__content > ul.app-navigation__list) {
229234
will-change: scroll-position;
230235
}

0 commit comments

Comments
 (0)