Safari line numbers on the blob viewer are misaligned when user enables "Never use font sizes smaller than 14"
Summary
Line numbers are misaligned with line content on blob views in Safari with the setting: "Never use font sizes smaller than" set to 14.
Steps to reproduce
- Open safari
- Go to settings > advanced.
- enable the "Never use font sizes smaller than" and set it to 14.
- Visit https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/services/onboarding_progress_service.rb
Example Project
https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/services/onboarding_progress_service.rb
What is the current bug behavior?
What is the expected correct behavior?
Possible fixes
Make the line-height and min-height calculations be based on em
and not rem
?