Skip to content

Commit

Permalink
fixup! Reduce left margin of files list header
Browse files Browse the repository at this point in the history
Signed-off-by: julia.kirschenheuter <[email protected]>
  • Loading branch information
JuliaKirschenheuter committed Oct 17, 2023
1 parent 70d31b1 commit deee9c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/files/src/views/FilesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- Current folder breadcrumbs -->
<BreadCrumbs :path="dir" @reload="fetchContent">
<template #actions>
<NcButton v-if="canShare"
<NcButton v-if="canShare && filesListWidth >= 512"
:aria-label="shareButtonLabel"
:class="{ 'files-list__header-share-button--shared': shareButtonType }"
:title="shareButtonLabel"
Expand Down Expand Up @@ -117,6 +117,7 @@ import BreadCrumbs from '../components/BreadCrumbs.vue'
import FilesListVirtual from '../components/FilesListVirtual.vue'
import filesSortingMixin from '../mixins/filesSorting.ts'
import logger from '../logger.js'
import filesListWidth from '../mixins/filesListWidth.ts'

const isSharingEnabled = getCapabilities()?.files_sharing !== undefined

Expand All @@ -138,6 +139,7 @@ export default Vue.extend({

mixins: [
filesSortingMixin,
filesListWidth,
],

setup() {
Expand Down

0 comments on commit deee9c6

Please sign in to comment.