Skip to content

Commit

Permalink
fix: resources table delete button no longer increases row height (#14)
Browse files Browse the repository at this point in the history
This change updates the styles on the Delete button so the button no longer increase the row height of the Resources Table.
  • Loading branch information
ChristopherFry committed May 24, 2022
1 parent 84e2a47 commit 2e81f7d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ export const PackageRevisionResourcesTable = ({
key="delete"
size="small"
title="Delete"
style={{
position: 'absolute',
transform: 'translateY(-50%)',
}}
onClick={event => {
event.stopPropagation();
deleteResource(resourceRow.filename, resourceRow.resourceIndex);
Expand Down

0 comments on commit 2e81f7d

Please sign in to comment.