Spacing between backlinks is not uniform

Bug report

Although this is a small thing, I’m reporting it because it bothers me every time.

Between the second last and the last backlink in the metadata panel, the distance between the elements is smaller than in the others.

It seems to me that this is a intendend behaviour.

image

I don’t see why this is necessary.
Wouldn’t it make more sense to reduce the spacing after the last element?

Environment

  • Platform: Windows
  • Platform version: 11
  • App Version: v5.8.1

I noticed that too. Fixed it through Custom Styles (and a few other small fixes).

.mde-preview {
    .task-list-item label input[type='checkbox'] {
        vertical-align: middle;
    }

    .metadata .backlinks .backlink-item {
        &:not(:nth-last-child(2)) {
            margin-bottom: 0;
        }
    }

    details {
        margin-bottom: 0;
    }

    .tag-list .ui.label {
        padding: 3px 6px;
    }

    .task-list-item {
        margin-top: 4px;
    }
}
2 Likes

Hi Lukas and Dmitry,

Hmmmmmmm, I totally don’t remember why :innocent: lol
I will remove it in the next release.
In addition, as you pointed out, we need to reduce the margin-bottom of details like so:

.mde-preview .metadata .backlinks {
  > details {
    margin-bottom: 0;
  }
}

Then, it would look like this:

Thanks for letting me know!

2 Likes