Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not expand resource name width over its content #3687

Merged
merged 1 commit into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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