Merge pull request #3762 from nextcloud/bugfix/3744

Adapt the card modal to upstream changes
This commit is contained in:
Julius Härtl
2022-04-29 10:47:10 +02:00
committed by GitHub
2 changed files with 7 additions and 8 deletions

View File

@@ -30,6 +30,7 @@
<Modal v-if="cardDetailsInModal && $route.params.cardId" <Modal v-if="cardDetailsInModal && $route.params.cardId"
:clear-view-delay="0" :clear-view-delay="0"
:title="t('deck', 'Card details')" :title="t('deck', 'Card details')"
size="large"
@close="hideModal()"> @close="hideModal()">
<div class="modal__content modal__card"> <div class="modal__content modal__card">
<router-view name="sidebar" /> <router-view name="sidebar" />
@@ -153,14 +154,6 @@ export default {
} }
} }
} }
.modal__card {
min-width: 320px;
width: 50vw;
max-width: 800px;
min-height: 200px;
height: 80vh;
}
</style> </style>
<style lang="scss"> <style lang="scss">

View File

@@ -224,6 +224,8 @@ export default {
max-width: calc(100% - #{$modal-padding*2}); max-width: calc(100% - #{$modal-padding*2});
padding: 0 14px; padding: 0 14px;
max-height: 100%; max-height: 100%;
overflow: initial;
&::v-deep { &::v-deep {
.app-sidebar-header { .app-sidebar-header {
position: sticky; position: sticky;
@@ -239,6 +241,10 @@ export default {
background-color: var(--color-main-background); background-color: var(--color-main-background);
} }
.app-sidebar__tab {
overflow: initial;
}
#emptycontent, .emptycontent { #emptycontent, .emptycontent {
margin-top: 88px; margin-top: 88px;
} }