Skip to content

Commit

Permalink
Merge pull request #44162 from nextcloud/fix/breadcrumb-narrow-width-…
Browse files Browse the repository at this point in the history
…being-hidden
  • Loading branch information
skjnldsv authored Mar 15, 2024
2 parents 7af282d + 5f29c02 commit c16d42f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions apps/files/src/components/BreadCrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ export default defineComponent({
return this.uploaderStore.queue.length !== 0
},

// Hide breadcrumbs if an upload is ongoing on arrow screens
// Hide breadcrumbs if an upload is ongoing
shouldShowBreadcrumbs(): boolean {
return this.filesListWidth > 768 && !this.isUploadInProgress
return this.filesListWidth > 400 && !this.isUploadInProgress
},

// used to show the views icon for the first breadcrumb
Expand Down Expand Up @@ -186,6 +186,7 @@ export default defineComponent({
// Take as much space as possible
flex: 1 1 100% !important;
width: 100%;
margin-inline: 0px 10px 0px 10px;

::v-deep a {
cursor: pointer !important;
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit c16d42f

Please sign in to comment.