diff --git a/packages/dataviews/src/style.scss b/packages/dataviews/src/style.scss index 8817859b0b29bb..c8bd6dd0e3d823 100644 --- a/packages/dataviews/src/style.scss +++ b/packages/dataviews/src/style.scss @@ -465,8 +465,6 @@ line-height: $grid-unit-20; .dataviews-view-list__field { - margin: 0; - &:has(.dataviews-view-list__field-value:empty) { display: none; } diff --git a/packages/dataviews/src/view-list.js b/packages/dataviews/src/view-list.js index 677d90c204f812..7d4b322579a544 100644 --- a/packages/dataviews/src/view-list.js +++ b/packages/dataviews/src/view-list.js @@ -98,7 +98,7 @@ function ListItem( { id={ descriptionId } > { visibleFields.map( ( field ) => ( -

@@ -111,7 +111,7 @@ function ListItem( { { field.render( { item } ) } -

+ ) ) }