Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: edit many modal draft action button order and style (#9046)
### What? Fix for See #9045 - this PR adjusts the order and the style of the draft button to be consistent with the default edit-collection view. ### Why? If "drafts" are enabled the "draft" action button is rendered on the - edit-many-modal: as a "primary" button, on the right side of the "publish" button - edit-collection view: as a "secondary" button, to the left of the "publish" button --> This is inconsistent and can lead to user mistakes pushing the wrong button because muscle-memory+human-brains ### How? Adjusted `EditMany/index.tsx` - setting the `buttonStyle` attribute for the `SaveDraft` component - switching the positions of the action buttons in the `EditMany` component ### Fix - Before ![image](https://github.com/user-attachments/assets/f20ea03f-99a1-44d5-8402-a26d3daf9e95) - After ![image](https://github.com/user-attachments/assets/da556fc1-bf03-47e4-a619-202198df8be1) --------- Co-authored-by: Patrik Kozak <[email protected]>
- Loading branch information