Merge pull request #3764 from nextcloud/backport/3762/stable24

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

View File

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

View File

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