Skip to content

Commit

Permalink
action_buttons_height_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelKova committed Aug 6, 2024
1 parent 9b93ef2 commit 0971aba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/sensenet/src/components/ContentBreadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@ const useStyles = makeStyles((theme: Theme) => {
marginLeft: 'auto',
display: 'flex',
marginRight: '8px',
height: '40px',
},
buttonsWrapper: {
display: 'flex',
alignItems: 'center',
},
actionButton: {
width: '40px',
marginRight: '2px',
},
})
})

Expand Down Expand Up @@ -87,6 +92,7 @@ export const ContentBreadcrumbs = <T extends GenericContent = GenericContent>(pr
<div className={classes.batchActionWrapper} data-test="batch-actions">
<Tooltip title={localization.batchActions.delete} placement="bottom">
<IconButton
className={classes.actionButton}
data-test="batch-delete"
aria-label="delete"
onClick={() => {
Expand All @@ -101,6 +107,7 @@ export const ContentBreadcrumbs = <T extends GenericContent = GenericContent>(pr
</Tooltip>
<Tooltip title={localization.batchActions.move} placement="bottom">
<IconButton
className={classes.actionButton}
data-test="batch-move"
aria-label="move"
onClick={() => {
Expand All @@ -123,6 +130,7 @@ export const ContentBreadcrumbs = <T extends GenericContent = GenericContent>(pr
</Tooltip>
<Tooltip title={localization.batchActions.copy} placement="bottom">
<IconButton
className={classes.actionButton}
data-test="batch-copy"
aria-label="copy"
onClick={() => {
Expand Down

0 comments on commit 0971aba

Please sign in to comment.