Fix remove button layout for approval policy

What does this MR do and why?

This MR fix remove button layout

Minor improvements of remove button layout for approval MR policy

This merge request updates the user interface for creating and editing security policies. It introduces a new design for the action and rule sections, making it easier for users to understand and interact with the policy editor. Additionally, it adds a remove button to each section, allowing users to easily remove actions or rules. These changes improve the overall user experience and make the policy editor more user-friendly.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Description UI
New position of remove button buttons.mov

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to Group/Project
  2. Secure -> Policies -> New Merge request approval policy
  3. Check rules and actions sections

Related to #464699 (closed)

Merge request reports

Loading