fix: overlay breaks the ui on npmjs.com (#158) #160
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #158
change the injected overlay to be after the div element that represent the "nom install
after the fix here is the screenshots:
npmjs.com
![Screen Shot 2024-02-15 at 13 12 27](https://private-user-images.githubusercontent.com/6542413/305052141-ca069e2b-9c57-4183-ac6a-9ba2092e5754.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMzIxMTQsIm5iZiI6MTcyNjEzMTgxNCwicGF0aCI6Ii82NTQyNDEzLzMwNTA1MjE0MS1jYTA2OWUyYi05YzU3LTQxODMtYWM2YS05YmEyMDkyZTU3NTQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDkwMzM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDMyOWFhNTBjZjQyMjlhZGY4NzEwZjc2N2UzNTc3MGU4Mjc3ZjA3MTljM2QwYjc4NzBiZDVjYzcxNjU4YjdkMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.osltXl5yrfv4ZskTT3S63ZRrAHfWjad9j4gq7g1QSc8)
pypi.org
![Screen Shot 2024-02-15 at 13 12 41](https://private-user-images.githubusercontent.com/6542413/305052181-282df1c3-5841-4cd0-ab4f-c9bee0477702.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMzIxMTQsIm5iZiI6MTcyNjEzMTgxNCwicGF0aCI6Ii82NTQyNDEzLzMwNTA1MjE4MS0yODJkZjFjMy01ODQxLTRjZDAtYWI0Zi1jOWJlZTA0Nzc3MDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDkwMzM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzZkZjkzZjJhMzA2Yzg0NzMyMGRkNzg1NzIxODZiZWFmMzAxOGNmOThiMTA1NjNiNTQxNWEzZjNhN2NmMDgxNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.x600E8NUElgQDXByJB3ll0jRNm9bLdUsAtQ1SPd7Rok)
stackoverflow.com
![Screen Shot 2024-02-15 at 13 13 13](https://private-user-images.githubusercontent.com/6542413/305052233-eb4c384a-5097-417f-ad4a-d575990e6fb3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMzIxMTQsIm5iZiI6MTcyNjEzMTgxNCwicGF0aCI6Ii82NTQyNDEzLzMwNTA1MjIzMy1lYjRjMzg0YS01MDk3LTQxN2YtYWQ0YS1kNTc1OTkwZTZmYjMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMDkwMzM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDliYzA5MjUwNjkxOTJjY2E5OTViNzQ0MmU2NGQyYTE3OWQxMWZiM2UwNmNjZWM5N2JhMTE4NTZmNDU1ZWY5YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.SY5CaBMu8wGNtWlGXiTTWabKZBTlUTGbCN4XO4XpmSg)