Skip to content

Align merge request sticky header with static header

Annabel Dunstone Gray requested to merge align-mr-header-copy-button into master

What does this MR do and why?

Aligns merge request sticky header with static header

  • Add keyboard shortcut in tooltip
  • Fix spacing

What does this MR not do?

  • (existing behavior) check whether keyboard shortcuts are enabled on the static header (ideally b wouldn't show up if keyboard shortcuts are enabled but not sure how to do it yet in ruby/haml)

Screenshots or screen recordings

Before After
Top header (static) Screenshot_2024-03-06_at_10.59.31_AM Screenshot_2024-03-06_at_11.03.31_AM
Sticky header Screenshot_2024-03-06_at_10.59.36_AM Screenshot_2024-03-06_at_11.03.39_AM

How to set up and validate locally

  • Go to merge request and hover over Copy branch button at top of screen and scrolled down

Links

Edited by Annabel Dunstone Gray

Merge request reports