mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3a59de681f
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