Highlight line offset is hard coded and is hidden by performance bar
When linking to a line number, the page isn't scrolled far enough if the performance bar is shown. Can this be dynamically compensated for?
Steps to reproduce
- Load without performance bar
- Load with performance bar
Current (can't see line) | Proposed |
---|---|
Example Project
What is the current bug behavior?
If the performance bar is enabled, highlighted line is outside of viewport on load.
What is the expected correct behavior?
Highlighted line should be visible in the viewport even when performance bar is enabled.
Possible fixes
Relative offset or increase offset so that there are multiple lines above the highlight shown to accommodate performance bar.