BUG ? - The line is never in the exact middle

Operating system

Linux

Joplin version

3.3.9

Desktop version info

Joplin 3.3.9 (prod, linux)

Device: linux, x64
Client ID: 44e3fdd0cdfd4c84b028b4fac399f990
Sync Version: 3
Profile Version: 47
Keychain Supported: No
Alternative instance ID: -

Revision: 5d0fa75

Backup: 1.4.3
Freehand Drawing: 3.0.1
Record: 1.5.0

Editor

Rich Text Editor

What issue do you have?

Before reporting to GITHUB...
If I want a line between two images for example, the line is never in the middle. It seems attracted by the second image...



I understand that this line is a "H1" title without text. But maybe it's possible to align better this line !?

It's rendered as horizontal rule (<hr>). You can check it in the development tools: Help -> Toggle development tools.

It appears that the offset is caused by different margins of the paragraphs above and below. After removing the margins, the line seems to be vertically centered:

You can use custom CSS (official documentation, forum thread) to adjust the margins to your needs.

2 Likes

Thanks a lot for this explanation. I need some days for that but I'm going to test it...
:+1:

1 Like