fix(navigation): use min-width for site popover #19415
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.
Problem
I still think the site popover could use some additional space when the instance settings are missing (i.e. most users). Might be subjective..
Changes
Before
![Screenshot 2023-12-19 at 20 05 42](https://private-user-images.githubusercontent.com/1851359/291689315-aa179d34-83ee-4dc5-b089-646246aa07a8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTIxODQsIm5iZiI6MTczOTU5MTg4NCwicGF0aCI6Ii8xODUxMzU5LzI5MTY4OTMxNS1hYTE3OWQzNC04M2VlLTRkYzUtYjA4OS02NDYyNDZhYTA3YTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDM1ODA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Zjg4ZmMyN2ZiOTJiNGUxOTkzN2E2OTIxYjk3NDJlNjFmMTBmYWU1NjIwMGYxN2RjNGIzNGM3ODk0ZWUwN2RjZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.dL6W_0wtxZWlZVGhN9yqAVe179w2LtjpS0AdAyPaSRU)
After
![Screenshot 2023-12-19 at 20 05 22](https://private-user-images.githubusercontent.com/1851359/291689333-70a820cb-6166-4a9b-8d31-9f0286eb4943.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTIxODQsIm5iZiI6MTczOTU5MTg4NCwicGF0aCI6Ii8xODUxMzU5LzI5MTY4OTMzMy03MGE4MjBjYi02MTY2LTRhOWItOGQzMS05ZjAyODZlYjQ5NDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDM1ODA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTBlNjA2NDBhODY1ZDE4OWMxZGM3M2MwOWJkODk1ZGU0Y2ZiNWYzZWQ5NDlkZTQ5NjY5ZmEzOTI1ZTc3YzYzNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.j-98Mhx69ZrqaJ-m7GalHNbPXvxlimchpax1c8KRq20)
How did you test this code?
👀 when removing the instance settings