Skip to content

Commit

Permalink
Move filename attribute to the wrap of the row
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Aug 17, 2020
1 parent f987a38 commit 06828e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/components/FileItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class="uk-margin-small-right"
/>
<div class="uk-width-expand">
<div class="file-row-name uk-text-truncate" :filename="item.name">
<div class="file-row-name uk-text-truncate">
<span
class="uk-text-bold oc-cursor-pointer oc-file-name uk-padding-remove-left"
role="button"
Expand Down
1 change: 1 addition & 0 deletions apps/files/src/components/FileList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
flex
class="uk-padding-small oc-border-bottom"
:class="_rowClasses(rowItem)"
:filename="rowItem.name"
>
<div v-if="checkboxEnabled">
<oc-checkbox
Expand Down
1 change: 1 addition & 0 deletions tests/acceptance/pageObjects/FilesPageElement/filesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ module.exports = {
// Check if the item is inside the view after it's renredered
if (position.top > -1 && position.top <= visiblePosition) {
// Scroll item to the top of the list
// This ensures that actions dropdown will always be visible
scrollDistance += position.top - tableHeaderPosition
virtualScrollWrapper.scrollTop = scrollDistance

Expand Down

0 comments on commit 06828e2

Please sign in to comment.