Merge pull request #34062 from nextcloud/enh/sharing-tab-alignment-and-spacing

Align sharing tab content and increase spacing
This commit is contained in:
Vincent Petry 2022-09-14 10:46:49 +02:00 committed by GitHub
commit 77680ac089
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 7 deletions

View file

@ -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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long