Displays relationship values bellow taginput

This commit is contained in:
mateuswetah 2021-08-13 09:21:28 -03:00
parent 956db24fc1
commit 37805213da
1 changed files with 16 additions and 0 deletions

View File

@ -51,6 +51,11 @@
</a> </a>
</template> </template>
</b-taginput> </b-taginput>
<div
class="tainacan-relationship-results-container"
v-if="itemMetadatum">
<div v-html="itemMetadatum.value_as_html" />
</div>
<a <a
v-if="currentUserCanEditItems && itemMetadatum.item && itemMetadatum.item.id" v-if="currentUserCanEditItems && itemMetadatum.item && itemMetadatum.item.id"
:disabled="!$route || $route.query.iframemode" :disabled="!$route || $route.query.iframemode"
@ -312,4 +317,15 @@
.add-link { .add-link {
font-size: 0.75em; font-size: 0.75em;
} }
.tainacan-relationship-results-container {
background-color: var(--tainacan-white);
border: 1px solid var(--tainacan-gray1);
border-top: 0px;
margin-top: -1px;
display: flex;
overflow: auto;
padding: 12px;
max-height: 40vh;
transition: heigth 0.5s ease, min-height 0.5s ease;
}
</style> </style>