Skip to content

Fix radio button overlay for security policies

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR fixes 392965

When scrolling, while alert message shown, radio buttons used to go above alert message.

This MR fixes it.

Screenshots or screen recordings

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

BEFORE AFTER
Screenshot_2023-02-23_at_00.42.08 Screen_Recording_2023-03-20_at_14.39.28

How to set up and validate locally

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

  1. Go to any project
  2. Security & Compliance -> Policies -> New policy -> Scan execution policy
  3. Try to save policy with wrong branch name, see Alert message or fill in only name and description like on video
  4. Scroll on top so Radio buttons overlay alert (if scroll height is not enough, open developer tools, or reduce browser window height)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #392965 (closed)

Merge request reports