Skip to content

Minor cosmetic changes to the source viewer

Jacques Erasmus requested to merge hljs-cosmetic-updates into master

What does this MR do and why?

As we're getting ready to roll out syntax highlighting with Highligh.js we need to ensure the source viewer is looking as expected.

This fixes some minor cosmetic issues in the source viewer.

note: changes in this MR are behind the highlight_js feature flag.

Screenshots or screen recordings

before after
Screenshot_2022-04-21_at_13.32.27 Screenshot_2022-04-21_at_13.27.38

How to set up and validate locally

  1. Enable the :highlight_js feature flag
  2. Open a source file in the repository files browser

MR acceptance checklist

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

Edited by Jacques Erasmus

Merge request reports