Images in merge requests don’t need the “Show full file” button

Summary

Images in merge requests don’t need the “Show full file” button because the full image is already shown. The “Show full file” button is used only for text files where only part of the full file is visible (the changes).

Steps to reproduce

  1. Create or visit a merge request which adds/changes/removes an image
  2. Press the “Show full file” button
  3. Nothing happens

Example Project

https://gitlab.com/gitlab-org/design.gitlab.com/merge_requests/216/diffs

What is the current bug behavior?

Nothing happens when clicking the “Show full file button” in image changes

What is the expected correct behavior?

The “Show full file” button should be removed. It's not necessary for images.

Relevant logs and/or screenshots

image

Output of checks

This bug happens on GitLab.com