Skip to content
Merged
Changes from 1 commit
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
Next Next commit
fix(files): fixed breadcrumbs dissapearing on narrow screens
Signed-off-by: Eduardo Morales <[email protected]>
  • Loading branch information
emoral435 committed Mar 15, 2024
commit ae00ed064f554b1e0f89ff4c98feb68ca0152012
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