Merge branch 'develop' of github.com:tainacan/tainacan into develop
This commit is contained in:
commit
b4252e90c3
|
@ -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,
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue