Skip to content

Commit 2a5e12c

Browse files
committed
fix(files): fixed breadcrumbs dissapearing on narrow screens
Signed-off-by: Eduardo Morales <[email protected]>
1 parent d4ac4b8 commit 2a5e12c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/files/src/components/BreadCrumbs.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ export default defineComponent({
126126
return this.uploaderStore.queue.length !== 0
127127
},
128128
129-
// Hide breadcrumbs if an upload is ongoing on arrow screens
129+
// Hide breadcrumbs if an upload is ongoing
130130
shouldShowBreadcrumbs(): boolean {
131-
return this.filesListWidth > 768 && !this.isUploadInProgress
131+
return this.filesListWidth > 400 && !this.isUploadInProgress
132132
},
133133
134134
// used to show the views icon for the first breadcrumb
@@ -186,6 +186,7 @@ export default defineComponent({
186186
// Take as much space as possible
187187
flex: 1 1 100% !important;
188188
width: 100%;
189+
margin-inline: 0px 10px 0px 10px;
189190
190191
::v-deep a {
191192
cursor: pointer !important;

0 commit comments

Comments
 (0)