Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataViews: show actions label #56027

Merged
merged 1 commit into from Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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