Fixes breaking modal title. Removes tooltips from Records View Mode metadata.
This commit is contained in:
parent
fe4753a265
commit
b8743a159b
|
@ -364,21 +364,8 @@
|
||||||
v-for="(column, index) in tableMetadata"
|
v-for="(column, index) in tableMetadata"
|
||||||
:key="index"
|
:key="index"
|
||||||
v-if="collectionId == undefined && column.display && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop == 'description')">
|
v-if="collectionId == undefined && column.display && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop == 'description')">
|
||||||
<h3
|
<h3 class="metadata-label">{{ $i18n.get('label_description') }}</h3>
|
||||||
v-tooltip="{
|
|
||||||
content: $i18n.get('label_description'),
|
|
||||||
html: false,
|
|
||||||
autoHide: false,
|
|
||||||
placement: 'auto-start'
|
|
||||||
}"
|
|
||||||
class="metadata-label">{{ $i18n.get('label_description') }}</h3>
|
|
||||||
<p
|
<p
|
||||||
v-tooltip="{
|
|
||||||
content: item.description != undefined ? item.description : '',
|
|
||||||
html: true,
|
|
||||||
autoHide: false,
|
|
||||||
placement: 'auto-start'
|
|
||||||
}"
|
|
||||||
v-html="item.description != undefined ? item.description : ''"
|
v-html="item.description != undefined ? item.description : ''"
|
||||||
class="metadata-value"/>
|
class="metadata-value"/>
|
||||||
</span>
|
</span>
|
||||||
|
@ -386,21 +373,8 @@
|
||||||
v-for="(column, index) in tableMetadata"
|
v-for="(column, index) in tableMetadata"
|
||||||
:key="index"
|
:key="index"
|
||||||
v-if="column.display && column.slug != 'thumbnail' && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop != 'title')">
|
v-if="column.display && column.slug != 'thumbnail' && column.metadata_type_object != undefined && (column.metadata_type_object.related_mapped_prop != 'title')">
|
||||||
<h3
|
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||||
v-tooltip="{
|
|
||||||
content: column.name,
|
|
||||||
html: false,
|
|
||||||
autoHide: false,
|
|
||||||
placement: 'auto-start'
|
|
||||||
}"
|
|
||||||
class="metadata-label">{{ column.name }}</h3>
|
|
||||||
<p
|
<p
|
||||||
v-tooltip="{
|
|
||||||
content: item.metadata != undefined ? renderMetadata(item.metadata, column) : '',
|
|
||||||
html: true,
|
|
||||||
autoHide: false,
|
|
||||||
placement: 'auto-start'
|
|
||||||
}"
|
|
||||||
v-html="item.metadata != undefined ? renderMetadata(item.metadata, column) : ''"
|
v-html="item.metadata != undefined ? renderMetadata(item.metadata, column) : ''"
|
||||||
class="metadata-value"/>
|
class="metadata-value"/>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -8,11 +8,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tainacan-modal-title {
|
.tainacan-modal-title {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: flex-end;
|
||||||
|
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: $blue5;
|
color: $blue5;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
width: 90%;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
a.back-link{
|
a.back-link{
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
@ -24,8 +32,8 @@
|
||||||
height: 1px;
|
height: 1px;
|
||||||
background-color: $secondary;
|
background-color: $secondary;
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
margin-bottom: 40px;
|
|
||||||
}
|
}
|
||||||
.tainacan-modal-content {
|
.tainacan-modal-content {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
Loading…
Reference in New Issue