Skip to content

Commit

Permalink
Change the labels of the expand nested fields button and add styles f…
Browse files Browse the repository at this point in the history
…or the development canvas.
  • Loading branch information
deletidev committed Jun 20, 2024
1 parent b2889e2 commit 4686874
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
/* only for see the content while developing */
/*
z-index: 1;
background-color: rgba(0, 0, 0, 0.908); */
background-color: rgba(0, 0, 0, 0.908);
text-align: left;
padding-left: 2rem; */
/* comment for show accessibility canvas*/
width: 1px;
height: 1px;
Expand Down
4 changes: 2 additions & 2 deletions src/pods/edit-table/components/field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export const Field: React.FC<Props> = props => {
onClick={() => toggleExpand(field.id)}
aria-label={
expandedFields.has(field.id)
? 'contract nested fields'
: 'expand nested fields'
? `collapse nested fields of "${field.name}"`
: `expand nested fields of "${field.name}"`
}
>
{expandedFields.has(field.id) ? (
Expand Down

0 comments on commit 4686874

Please sign in to comment.