Adds metadata type class wrapper on metadatum edition form.

This commit is contained in:
mateuswetah 2021-10-29 10:51:50 -03:00
parent ea93325909
commit 1e059efcd0
2 changed files with 7 additions and 4 deletions

View File

@ -18,7 +18,9 @@
</a> --> </a> -->
<hr> <hr>
</div> </div>
<div class="tainacan-form"> <div
class="tainacan-form"
:class="'tainacan-metadatum-edition-form--type-' + editForm.metadata_type_object.component">
<div class="options-columns"> <div class="options-columns">
<b-field <b-field
:addons="false" :addons="false"

View File

@ -193,12 +193,13 @@
} }
.form-hook-region { .form-hook-region {
margin-top: 0.5em; margin-top: 0.75em;
background-color: var(--tainacan-gray1); background-color: var(--tainacan-gray1);
padding: 1em 1.5em 2em 1.5em; padding: 1em 1.5em 2em 1.5em;
margin-bottom: 0.5em; margin-bottom: 0.75em;
break-inside: avoid;
h4 { h3, h4, h5 {
font-weight: 600; font-weight: 600;
color: var(--tainacan-secondary); color: var(--tainacan-secondary);
margin-bottom: 4px; margin-bottom: 4px;