Skip to content

Show download button in narrow viewports in repo directory view

What does this MR do and why?

On narrow viewports, the download button is missing as an empty div is rendering with no children. This MR adds the call that renders the children elements.

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.

Before After
Screenshot_2024-07-11_at_4.44.12_PM Screenshot_2024-07-11_at_4.43.33_PM

How to set up and validate locally

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

  1. go to a project
  2. select Code and then Repository
  3. make sure your screen width is small

Related to #469000 (closed)

Edited by Chaoyue Zhao

Merge request reports