Fix #1004
Merged
ZS
3mo ago+4+4+0123456789-0-0-0123456789
What does this PR aim to accomplish?:
Fix #1004
How does this PR accomplish the above?:
Add height style for #CompareElement .monaco-merge-host in L4973-L4975
By submitting this pull request, I confirm the following:
- I have read and understood the contributor's guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
- I have commented on my proposed changes within the code.
- I have tested my changes.
- I am willing to help maintain this change if there are issues with it later.
- It is compatible with the GNU General Public License v3.0
- I have squashed any insignificant commits. (
git rebase) - I have checked that another pull request for this purpose does not exist.
- I have considered and confirmed that this submission will be valuable to others.
- I accept that this submission may not be used, and the pull request can be closed at the will of the maintainer.
- I give this submission freely and claim no ownership to its content.
- I have verified that my changes work correctly in both the new UI and the old/classic UI.
- I have read the above and my PR is ready for review. Check this box to confirm
Summary by Sourcery
Enhancements:
- Inject a style override so that the #CompareElement .monaco-merge-host element uses a fixed relative height within the compare view.
Summary by cubic
Sets a fixed height for the Monaco merge editor in the compare view to prevent clipping and empty space, fixing #1004. Injects a style that sets #CompareElement .monaco-merge-host { height: 95%; }.