Fixed expand full file button showing on images Closes #59695 See merge request gitlab-org/gitlab-ce!26830