diff --git a/src/views/admin/components/edition/item-document-edition-form.vue b/src/views/admin/components/edition/item-document-edition-form.vue index cfb8f0c29..74ab6b133 100644 --- a/src/views/admin/components/edition/item-document-edition-form.vue +++ b/src/views/admin/components/edition/item-document-edition-form.vue @@ -113,6 +113,11 @@ export default { &.document-field-content--text { padding-bottom: 2rem; + + /deep/ article { + max-height: calc(32vh - 2rem); + overflow-y: auto; + } } /deep/ img, diff --git a/src/views/admin/pages/singles/item-page.vue b/src/views/admin/pages/singles/item-page.vue index e12a12695..9394a16c1 100644 --- a/src/views/admin/pages/singles/item-page.vue +++ b/src/views/admin/pages/singles/item-page.vue @@ -209,7 +209,8 @@ v-if="item.document !== undefined && item.document !== null && item.document_type !== undefined && item.document_type !== null && item.document !== '' && item.document_type !== 'empty'" - class="document-field-content"> + class="document-field-content" + :class="'document-field-content--' + item.document_type">