Skip to content

Commit

Permalink
fix(files): fixed breadcrumbs dissapearing on narrow screens
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
  • Loading branch information
emoral435 committed Mar 12, 2024
1 parent 007731d commit 76a3e67
Showing 1 changed file with 3 additions and 2 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

0 comments on commit 76a3e67

Please sign in to comment.