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 <julia.kirschenheuter@nextcloud.com>
  • Loading branch information
JuliaKirschenheuter authored and skjnldsv committed Oct 17, 2023
1 parent 17cd213 commit fe91982
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
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 @@ -133,6 +133,7 @@ import FilesListVirtual from '../components/FilesListVirtual.vue'
import filesListWidthMixin from '../mixins/filesListWidth.ts'
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 @@ -157,6 +158,7 @@ export default Vue.extend({
mixins: [
filesListWidthMixin,
filesSortingMixin,
filesListWidth,
],
setup() {
Expand Down
4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit fe91982

Please sign in to comment.