mirror of
https://github.com/angular/angular.git
synced 2026-11-29 09:57:50 -05:00
Currently the label showing the component name is always positioned from the bottom/right edge of the element which may be outside of the viewport. These changes add some logic to fall back to a different position so that the label is always visible. I've also cleaned the `highlighter.ts` file up a bit. Fixes #48479. PR Close #50656