Merge branch 'develop' of github.com:tainacan/tainacan into develop

This commit is contained in:
vnmedeiros 2023-11-12 11:14:43 -03:00
commit b4252e90c3
2 changed files with 16 additions and 1 deletions

View File

@ -113,6 +113,11 @@ export default {
&.document-field-content--text { &.document-field-content--text {
padding-bottom: 2rem; padding-bottom: 2rem;
/deep/ article {
max-height: calc(32vh - 2rem);
overflow-y: auto;
}
} }
/deep/ img, /deep/ img,

View File

@ -209,7 +209,8 @@
v-if="item.document !== undefined && item.document !== null && v-if="item.document !== undefined && item.document !== null &&
item.document_type !== undefined && item.document_type !== null && item.document_type !== undefined && item.document_type !== null &&
item.document !== '' && item.document_type !== 'empty'" item.document !== '' && item.document_type !== 'empty'"
class="document-field-content"> class="document-field-content"
:class="'document-field-content--' + item.document_type">
<div v-html="item.document_as_html"/> <div v-html="item.document_as_html"/>
</div> </div>
<div v-else> <div v-else>
@ -888,6 +889,15 @@
.document-field-content { .document-field-content {
max-height: 32vh; max-height: 32vh;
&.document-field-content--text {
padding-bottom: 2rem;
/deep/ article {
max-height: calc(32vh - 2rem);
overflow-y: auto;
}
}
/deep/ img, /deep/ img,
/deep/ video, /deep/ video,
/deep/ figure { /deep/ figure {