fix: Row groups in tabs vertical alignment (#2593)

* fix: removes top padding from group in row

---------

Co-authored-by: PatrikKozak <patrik@trbl.design>
This commit is contained in:
Dennis Snijder
2023-05-08 21:55:12 +02:00
committed by GitHub
parent a9b5dffa00
commit 54fac4a5d7
2 changed files with 59 additions and 0 deletions

View File

@@ -110,6 +110,61 @@ const GroupFields: CollectionConfig = {
},
],
},
{
type: 'tabs',
tabs: [
{
name: 'groups',
label: 'Groups in tabs',
fields: [
{
type: 'row',
fields: [
{
name: 'groupInRow',
type: 'group',
fields: [
{
name: 'field',
type: 'text',
},
{
name: 'secondField',
type: 'text',
},
{
name: 'thirdField',
type: 'text',
},
],
},
{
name: 'secondGroupInRow',
type: 'group',
fields: [
{
name: 'field',
type: 'text',
},
{
name: 'nestedGroup',
type: 'group',
fields: [
{
name: 'nestedField',
type: 'text',
},
],
},
],
},
],
},
],
},
],
},
],
};