Skip to content

Commit

Permalink
Tidy up replicator field styles to match "normal" fields
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Feb 1, 2024
1 parent 2116fa2 commit a29e0eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/fieldtypes/replicator/Field.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</label>

<div
class="help-block"
class="help-block" :class="{ '-mt-2': showLabel }"
v-if="instructions && field.instructions_position !== 'below'"
v-html="instructions" />

Expand Down Expand Up @@ -37,7 +37,7 @@
v-html="instructions" />

<div v-if="hasError">
<small class="help-block text-red-500 mt-2" v-for="(error, i) in errors" :key="i" v-text="error" />
<small class="help-block text-red-500 mt-2 mb-0" v-for="(error, i) in errors" :key="i" v-text="error" />
</div>

</div>
Expand Down

0 comments on commit a29e0eb

Please sign in to comment.