joplin icon indicating copy to clipboard operation
joplin copied to clipboard

Inconsistent spacing between leading text, a bulleted list and trailing text

Open tihomir-kit opened this issue 2 years ago • 41 comments

When adding a bulleted list, it has more spacing between the top piece of text and the list than between the bottom piece of text and the list. This feels unintuitive and makes it feel like the bulleted list is associated with bottom text, where it's typically more associated with the text above it. Other rendering engines typically leave the same amount of spacing top and bottom.

Environment

Joplin version: 2.3.5 (but I've noticed this on 2.2.x as well and perhaps even earlier Platform: Windows 10 OS specifics: Windows 10, up to date

Steps to reproduce

  1. Enter the following into a new note:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

- Item 1
- Item 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

You should see a bigger gap between top text and list than bottom text and the list:

image

Describe what you expected to happen

I would expect to see even spacing like this:

(This is how GitHub renders the same markdown - it's even spacing top and bottom): image

(This is how MS Word renders a bulleted list - again it's even spacing top and bottom): image

Logfile

Does not apply (I think).


Thanks!

tihomir-kit avatar Aug 20 '21 12:08 tihomir-kit

Can I take up this issue?

pinkman7009 avatar Aug 24 '21 08:08 pinkman7009

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

stale[bot] avatar Sep 26 '21 19:09 stale[bot]

Keep open please.

tihomir-kit avatar Sep 26 '21 21:09 tihomir-kit

Came here to file the same bug, a minor rendering issue but it's quite disconcerting. Here's a comparison of Joplin vs StackEdit rendering. Would be grateful for a fix! (@pinkman7009 are you still planning on trying?)

Screen Shot 2021-11-01 at 19 13 05

iceboundflame avatar Nov 02 '21 02:11 iceboundflame

I think this is due to the margins above and below the p tags being different. The default has the top and bottom margins as 0.6em and 1.35em, respectively.

You can add the following to the custom stylesheet for rendered markdown in the settings to make the margins equal:

p {
    margin-bottom: 0.6em;
}

p, h1, h2, h3, h4, h5, h6, ul, and table all share the same default margins. So I guess resolving this issue would require a small design change

pssandhu avatar Nov 30 '21 21:11 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jan 09 '22 00:01 github-actions[bot]

Keep open please.

tihomir-kit avatar Jan 10 '22 08:01 tihomir-kit

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Feb 09 '22 16:02 github-actions[bot]

Keep open.

tihomir-kit avatar Feb 09 '22 19:02 tihomir-kit

@pssandhu just tried the userstyle out and it does look better - thanks!

iceboundflame avatar Feb 24 '22 18:02 iceboundflame

The solution provided above works. However i think having default spacing above the bulleted list, as descirbed by @tihomir-kit, should be the default

olbotta avatar Mar 01 '22 18:03 olbotta

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Apr 01 '22 16:04 github-actions[bot]

Keep

tihomir-kit avatar Apr 01 '22 16:04 tihomir-kit

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar May 02 '22 16:05 github-actions[bot]

Still an issue

pssandhu avatar May 02 '22 16:05 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jun 02 '22 16:06 github-actions[bot]

Keep open

pssandhu avatar Jun 02 '22 18:06 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jul 03 '22 16:07 github-actions[bot]

Keep

pssandhu avatar Jul 04 '22 11:07 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Aug 04 '22 16:08 github-actions[bot]

Keep open

pssandhu avatar Aug 04 '22 18:08 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Sep 05 '22 16:09 github-actions[bot]

Still an issue

pssandhu avatar Sep 05 '22 20:09 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Oct 06 '22 16:10 github-actions[bot]

keep

tihomir-kit avatar Oct 06 '22 16:10 tihomir-kit

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Nov 07 '22 16:11 github-actions[bot]

keep. might have to write a "keep open" bot :D

tihomir-kit avatar Nov 07 '22 17:11 tihomir-kit

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Dec 08 '22 16:12 github-actions[bot]

Keep :)

pssandhu avatar Dec 08 '22 16:12 pssandhu

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jan 08 '23 16:01 github-actions[bot]