summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-09-14 01:53:50 +0000
committerChristopher Ng <chrng8@gmail.com>2022-09-14 01:55:20 +0000
commit5d083d0b4669bc8dbc8a364918b5f5dd4d14c847 (patch)
treef83a183cc917b940ff8762892ac5707323a646c7 /apps/files_sharing/src
parentcfcda15df86ad93ad8d5ed582cc572730f209b3d (diff)
downloadnextcloud-server-5d083d0b4669bc8dbc8a364918b5f5dd4d14c847.tar.gz
nextcloud-server-5d083d0b4669bc8dbc8a364918b5f5dd4d14c847.zip
Align sharing tab content and increase spacing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/views/SharingTab.vue14
1 files changed, 10 insertions, 4 deletions
diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue
index 8ab3cf0f9ff..d1416a6c0d1 100644
--- a/apps/files_sharing/src/views/SharingTab.vue
+++ b/apps/files_sharing/src/views/SharingTab.vue
@@ -29,7 +29,7 @@
</div>
<!-- shares content -->
- <template v-else>
+ <div v-else class="sharingTab__content">
<!-- shared with me information -->
<SharingEntrySimple v-if="isSharedWithMe" v-bind="sharedWithMe" class="sharing-entry__reshare">
<template #avatar>
@@ -73,7 +73,7 @@
:id="`${fileInfo.id}`"
type="file"
:name="fileInfo.name" />
- </template>
+ </div>
<!-- additional entries, use it with cautious -->
<div v-for="(section, index) in sections"
@@ -364,7 +364,13 @@ export default {
.emptyContentWithSections {
margin: 1rem auto;
}
-.sharingTab__additionalContent {
- margin: 20px 0;
+
+.sharingTab {
+ &__content {
+ padding: 0 6px;
+ }
+ &__additionalContent {
+ margin: 44px 0;
+ }
}
</style>