Skip to content
Snippets Groups Projects

Stick the line numbers left when scrolling

Merged Chen Charnolevsky requested to merge 497926-fixed-the-line-numbers into master
All threads resolved!

What does this MR do and why?

Adjust the line numbers so they remain visible while the code can still be scrolled horizontally. The line numbers would stay fixed, even when the code snippet is scrolled.

References

Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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
Screen_Recording_2024-11-13_at_14.12.07 Screen_Recording_2024-11-13_at_14.23.05

How to set up and validate locally

  1. Go to Project --> Secure --> Vulnerability report --> Filter by tool=Gitlab Advanced SAST --> Select one that also have code flow
  2. Scroll the content left and right and validate the line numbers are still sticky left.

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

Related to #497926 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading