Skip to content

Commit

Permalink
Merge pull request #3687 from owncloud/bugfix/click-on-resource
Browse files Browse the repository at this point in the history
Do not expand resource name width over its content
  • Loading branch information
Lukas Hirt authored Jun 29, 2020
2 parents f8b81f2 + ec97477 commit ba142d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/files/src/components/FileItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<div class="oc-file uk-flex uk-flex-middle" :data-preview-loaded="previewLoaded">
<div
class="oc-file uk-flex-inline uk-flex-middle uk-width-auto"
:data-preview-loaded="previewLoaded"
>
<oc-img
v-if="previewUrl"
key="file-preview"
Expand Down
8 changes: 8 additions & 0 deletions changelog/unreleased/resource-line-width
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Bugfix: Do not expand the width of resource name over it's content

The width of the resource name in the files list was expanded more than the actual width of it's content.
This caused that when clicked outside of the resource name, the action to navigate or open the resource has been triggered instead of opening the sidebar.
We've fixed the width that it is now equal to the width of the content.

https://github.com/owncloud/phoenix/issues/3685
https://github.com/owncloud/phoenix/pull/3687

0 comments on commit ba142d7

Please sign in to comment.