Align sharing tab content and increase spacing

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng 2022-09-14 01:53:50 +00:00
parent cfcda15df8
commit 5d083d0b46
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