Weird line space behavior with Titles

Describe the bug
When Inserting multiple “Title” blocks right in the beginning of the page, the first Title has a different line spacing than the following ones. (see screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. Open a new page or note with the type of “Note”
  2. Hit enter to create a new block. Make that block a “Title” with /title
  3. Repeat Step 2 twice or more than 2 times.
  4. Take notice that the line spacing (margin bottom) is different for the first title compared to the other titles.

Expected behavior
I expected all titles to have the same line spacing (margin bottom).

System Information:

  • OS: Win 10 x64
  • MB: Asus X570 Pro
  • graphics: NVIDIA RTX 2060 Super
  • Anytype Version: 0.21.9

@Liam8lu Hi! I see that your page has basic layout because type of the page is Page and you has the Title. Can I ask you to record how to reproduce it? I was trying to reproduce it, but I can’t

@Kirill_Lem the layout is not important as I just noticed.

I can see that this is a minor bug. It’s just visual for now. But it’s a bug :grinning:

@Liam8lu I have been understood the problem. It has been added to the bug tracker. Thank you for your notice!

@Liam8lu I cant reproduce this anymore. Can you confirm this is solved?

@Flip I confirm, cannot reproduce this anymore. Thanks for the fix.