Skip to content

Commit

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

fix(FilePicker): The table height should be max. 100%
  • Loading branch information
susnux authored Aug 23, 2023
2 parents e58e7b2 + e40118c commit 8690081
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 8690081

Please sign in to comment.