diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-08-13 16:00:10 -0700 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2024-08-14 07:27:49 +0000 |
commit | 0c0ba5f552d76424a130414eb32fe1ecf48372ad (patch) | |
tree | cffd0c6093e6ccb60f695039c5a3459138cbb326 /apps/files/src | |
parent | a503125173ce438aa841a24a9108cb5c6bac27ac (diff) | |
download | nextcloud-server-0c0ba5f552d76424a130414eb32fe1ecf48372ad.tar.gz nextcloud-server-0c0ba5f552d76424a130414eb32fe1ecf48372ad.zip |
fix(files): Fix non-sticky sticky views in files nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/views/Navigation.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/src/views/Navigation.vue b/apps/files/src/views/Navigation.vue index 7d617879c6a..9566b886b26 100644 --- a/apps/files/src/views/Navigation.vue +++ b/apps/files/src/views/Navigation.vue @@ -10,7 +10,8 @@ <NcAppNavigationSearch v-model="searchQuery" :label="t('files', 'Filter filenames…')" /> </template> <template #default> - <NcAppNavigationList :aria-label="t('files', 'Views')"> + <NcAppNavigationList class="files-navigation__list" + :aria-label="t('files', 'Views')"> <FilesNavigationItem :views="viewMap" /> </NcAppNavigationList> @@ -225,6 +226,10 @@ export default defineComponent({ } .files-navigation { + &__list { + height: 100%; // Fill all available space for sticky views + } + :deep(.app-navigation__content > ul.app-navigation__list) { will-change: scroll-position; } |