Skip to content

Commit

Permalink
Reuse Global Styles changes design for meta changes
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Jun 14, 2024
1 parent f45d50b commit 7f9cf2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { CheckboxControl, Flex, PanelRow } from '@wordpress/components';
import { CheckboxControl, PanelRow } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { useSelect } from '@wordpress/data';
import { store as coreStore } from '@wordpress/core-data';
Expand Down Expand Up @@ -59,13 +59,9 @@ export default function EntityRecordItem( { record, checked, onChange } ) {
/>
</PanelRow>
{ hasPostMetaChanges && (
<PanelRow>
<Flex className="entities-saved-states__post-meta">
<span className="entities-saved-states__bindings-text">
{ __( 'Post Meta.' ) }
</span>
</Flex>
</PanelRow>
<ul className="entities-saved-states__changes">
<li>{ __( 'Post Meta.' ) }</li>
</ul>
) }
</>
);
Expand Down
13 changes: 0 additions & 13 deletions packages/editor/src/components/entities-saved-states/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,3 @@
margin-bottom: $grid-unit-05;
}
}

.entities-saved-states__post-meta {
margin-left: 28px;
align-items: center;
}

.entities-saved-states__connections-icon {
flex-grow: 0;
}

.entities-saved-states__bindings-text {
flex-grow: 1;
}

0 comments on commit 7f9cf2c

Please sign in to comment.