Skip to content

Commit

Permalink
[Data views]: Show actions label (#56027)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored and cbravobernal committed Nov 14, 2023
1 parent a625d4f commit d479caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/dataviews/style.scss
Expand Up @@ -31,7 +31,7 @@
td,
th {
padding: $grid-unit-15;
[data-field-id="actions"] {
&[data-field-id="actions"] {
text-align: right;
}
}
Expand Down
3 changes: 1 addition & 2 deletions packages/edit-site/src/components/dataviews/view-list.js
Expand Up @@ -28,7 +28,6 @@ import {
Button,
Icon,
privateApis as componentsPrivateApis,
VisuallyHidden,
} from '@wordpress/components';
import { useMemo, Children, Fragment } from '@wordpress/element';

Expand Down Expand Up @@ -267,7 +266,7 @@ function ViewList( {
} );
if ( actions?.length ) {
_columns.push( {
header: <VisuallyHidden>{ __( 'Actions' ) }</VisuallyHidden>,
header: __( 'Actions' ),
id: 'actions',
cell: ( props ) => {
return (
Expand Down

0 comments on commit d479caa

Please sign in to comment.