From 70febb88e8fc4e957e2557867093bef1ad44fa6d Mon Sep 17 00:00:00 2001 From: Jack Sleight Date: Mon, 25 Nov 2024 12:47:35 +0000 Subject: [PATCH 1/2] Fix field action nested alignment --- resources/js/components/fieldtypes/replicator/Field.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/js/components/fieldtypes/replicator/Field.vue b/resources/js/components/fieldtypes/replicator/Field.vue index a76d68da0e..6e2c8e6cee 100644 --- a/resources/js/components/fieldtypes/replicator/Field.vue +++ b/resources/js/components/fieldtypes/replicator/Field.vue @@ -135,6 +135,7 @@ export default { 'form-group publish-field', `${this.field.type}-fieldtype`, `${tailwind_width_class(this.field.width)}`, + this.shouldShowFieldActions ? 'has-field-dropdown' : '', this.isReadOnly ? 'read-only-field' : '', this.field.classes || '', { 'has-error': this.hasError || this.hasNestedError } From 1bcc41fba72a0c8a3a30d320af1027511fdf0a8a Mon Sep 17 00:00:00 2001 From: Jack Sleight Date: Mon, 25 Nov 2024 12:48:30 +0000 Subject: [PATCH 2/2] Include label class --- resources/js/components/fieldtypes/replicator/Field.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/js/components/fieldtypes/replicator/Field.vue b/resources/js/components/fieldtypes/replicator/Field.vue index 6e2c8e6cee..a768b81e3d 100644 --- a/resources/js/components/fieldtypes/replicator/Field.vue +++ b/resources/js/components/fieldtypes/replicator/Field.vue @@ -135,6 +135,7 @@ export default { 'form-group publish-field', `${this.field.type}-fieldtype`, `${tailwind_width_class(this.field.width)}`, + this.showLabel ? 'has-field-label' : '', this.shouldShowFieldActions ? 'has-field-dropdown' : '', this.isReadOnly ? 'read-only-field' : '', this.field.classes || '',