aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPytal <24800714+Pytal@users.noreply.github.com>2023-10-17 15:02:52 -0700
committerGitHub <noreply@github.com>2023-10-17 15:02:52 -0700
commitff76e258c882861b265d9e3ff8324d7946da99f7 (patch)
tree0f72b812a9437524e07afc3ace41fa3b68c46b42 /apps
parentd2613302513e7f9fcc25c56773e38d369aeb9fc8 (diff)
parent0d53f5407694ee12494a0b4ff1017e59d5250b39 (diff)
downloadnextcloud-server-ff76e258c882861b265d9e3ff8324d7946da99f7.tar.gz
nextcloud-server-ff76e258c882861b265d9e3ff8324d7946da99f7.zip
Merge pull request #40905 from nextcloud/fix/36965-apadt-margin-for-files_list_header
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/views/FilesList.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/src/views/FilesList.vue b/apps/files/src/views/FilesList.vue
index 791a259fd1b..89ce6aeb7b0 100644
--- a/apps/files/src/views/FilesList.vue
+++ b/apps/files/src/views/FilesList.vue
@@ -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"
@@ -485,6 +485,7 @@ $navigationToggleSize: 50px;
flex: 0 0;
// Align with the navigation toggle icon
margin: $margin $margin $margin $navigationToggleSize;
+ max-width: 100%;
> * {
// Do not grow or shrink (horizontally)
// Only the breadcrumbs shrinks