Skip to content

Commit

Permalink
Merge pull request #922 from nextcloud-libraries/fix/filepicker-table…
Browse files Browse the repository at this point in the history
…-size

[stable4] The table height should be max. 100%
  • Loading branch information
susnux committed Aug 23, 2023
2 parents dee1304 + fd2ddc5 commit d1d9bb3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/FilePicker/FileList.vue
Expand Up @@ -178,7 +178,7 @@ function onChangeDirectory(dir: Node) {
table {
width: 100%;
height: 100%;
max-height: 100%;
table-layout: fixed;
}
th {
Expand Down
9 changes: 9 additions & 0 deletions lib/components/FilePicker/FilePickerBreadcrumbs.vue
Expand Up @@ -120,3 +120,12 @@ const pathElements = computed(() => props.path.split('/')
})),
)
</script>

<style scoped lang="scss">
file-picker {
&__breadcrumbs {
// ensure the breadcrumbs have a static height
flex-grow: 0;
}
}
</style>

0 comments on commit d1d9bb3

Please sign in to comment.