Fixes some css on view modes and updates label of related items in relationship form.
This commit is contained in:
parent
0a0ea8217a
commit
8db7e8a489
|
@ -60,8 +60,8 @@ class Relationship extends Metadata_Type {
|
|||
'description' => __( 'Select the metadata to use as search criteria in the target collection and as a label when representing the relationship', 'tainacan' ),
|
||||
],
|
||||
'display_in_related_items' => [
|
||||
'title' =>__( 'Display in related items', 'tainacan' ),
|
||||
'description' => __( 'Include items on related item list.', 'tainacan' ),
|
||||
'title' => __( 'Display in "Items related to this"', 'tainacan' ),
|
||||
'description' => __( 'Include items linked by this metadata on a list of related items.', 'tainacan' ),
|
||||
]
|
||||
];
|
||||
}
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
bottom: 0;
|
||||
margin-bottom: -26px;
|
||||
padding-right: 12px;
|
||||
margin-top: -26px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
visibility: hidden;
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
position: relative;
|
||||
float: right;
|
||||
top: calc(-1 * var(--tainacan-container-padding));
|
||||
margin-top: -25px;
|
||||
bottom: 0;
|
||||
margin-bottom: -25px;
|
||||
padding-right: 12px;
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
float: right;
|
||||
top: calc(-1 * var(--tainacan-container-padding));
|
||||
bottom: 0;
|
||||
margin-top: -25px;
|
||||
padding-right: 12px;
|
||||
//width: 80px;
|
||||
margin-bottom: -25px;
|
||||
|
@ -158,12 +157,14 @@
|
|||
font-size: 0.75em;
|
||||
font-weight: 700;
|
||||
color: var(--tainacan-info-color);
|
||||
clear: none;
|
||||
}
|
||||
|
||||
.metadata-value {
|
||||
font-size: 0.75em;
|
||||
margin-bottom: 1em;
|
||||
color: var(--tainacan-info-color);
|
||||
clear: none;
|
||||
}
|
||||
|
||||
& span:last-of-type>.metadata-value {
|
||||
|
|
Loading…
Reference in New Issue