Skip to content

Commit c16d42f

Browse files
authored
Merge pull request #44162 from nextcloud/fix/breadcrumb-narrow-width-being-hidden
2 parents 7af282d + 5f29c02 commit c16d42f

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

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;

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)