Skip to content

Commit

Permalink
Non sticky delete button
Browse files Browse the repository at this point in the history
Signed-off-by: fenn-cs <[email protected]>
  • Loading branch information
nfebe committed Sep 13, 2023
1 parent f596f76 commit c0344a2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions apps/files_sharing/src/views/SharingDetailsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
</section>
</div>

<div class="sharingTabDetailsView__footer">
<div class="sharingTabDetailsView__delete">
<NcButton v-if="!isNewShare"
:aria-label="t('files_sharing', 'Delete share')"
:disabled="false"
Expand All @@ -176,6 +176,9 @@
</template>
{{ t('files_sharing', 'Delete share') }}
</NcButton>
</div>

<div class="sharingTabDetailsView__footer">
<div class="button-group">
<NcButton @click="$emit('close-sharing-details')">
{{ t('file_sharing', 'Cancel') }}
Expand Down Expand Up @@ -1008,6 +1011,13 @@ export default {
}
}
&_delete {
>button:first-child {
color: rgb(223, 7, 7);
background-color: #f5f5f5;
}
}
&__footer {
width: 100%;
display: flex;
Expand All @@ -1017,11 +1027,6 @@ export default {
justify-content: space-between;
align-items: flex-start;
>button:first-child {
color: rgb(223, 7, 7);
background-color: #f5f5f5;
}
.button-group {
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit c0344a2

Please sign in to comment.