Improve margin within the media replace popover #24309
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.
Description
Currently, there is a bottom margin placed on the replace media menu to create space between menu items and the "Current media URL" container. When the "Current media URL" container is not shown, the bottom margin of the menu persists, causing there to be excessive space at the bottom of the popover.
This commit moves the margin from the bottom of the media replace menu to the top of the media replace url input so that the popover spacing stays consistent when the media replace URL input is not shown (the Cover block instance, for example)
How has this been tested?
Tested the change with the following browser on MacOS:
Screenshots
Before
After
Types of changes
Style/CSS adjustment
Checklist: