Skip to content

Commit

Permalink
Adjust recycle scroller item size
Browse files Browse the repository at this point in the history
A recent library update in ODS for the recycle scroller seem to have
changed the logic or calculation of the height.

This fix accomodates for that change and restores the row height to a
correct value.
  • Loading branch information
Vincent Petry committed Mar 2, 2020
1 parent eefa455 commit 678fe5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/components/FileList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<RecycleScroller
class="uk-height-1-1"
:items="fileData"
:item-size="70"
:item-size="55"
v-slot="{ item, index, active }"
v-if="fileData.length"
:key="fileData.length"
Expand Down
9 changes: 9 additions & 0 deletions changelog/unreleased/3100
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bugfix: Fixed height of rows in file list

A recent library update in ODS for the recycle scroller seem to have
changed the logic or calculation of the height.

This fix accomodates for that change and restores the row height to a
correct value.

https://github.com/owncloud/phoenix/pull/3100

0 comments on commit 678fe5a

Please sign in to comment.