graphql-schema-diff icon indicating copy to clipboard operation
graphql-schema-diff copied to clipboard

Aligning types in html view

Open mariusc23 opened this issue 3 years ago • 1 comments
trafficstars

Hi, thanks for writing this library!

I'm wondering if the types can be better aligned to start on the same line for both the left and right view. For example in the screenshot below it would be helpful if Post can start on the same line. Screen Shot 2022-01-21 at 5 26 10 PM

This would make it easier to spot when fields are added vs entire types are added.

mariusc23 avatar Jan 22 '22 00:01 mariusc23

I have similar issue - after generating HTML output there is misalignment at the top of the page - but changes at the bottom are aligned properly. Misalignment increases by one line for every block of differences, starting from the bottom of the page. So by the time it reaches top, misalignment is so big that you can't clearly changes clearly any more. Is there any fix for this?

Ranko97 avatar Feb 07 '22 10:02 Ranko97