Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with wikilinks in title #239

Closed
ConchobarGG opened this issue Apr 4, 2022 · 2 comments
Closed

Issue with wikilinks in title #239

ConchobarGG opened this issue Apr 4, 2022 · 2 comments

Comments

@ConchobarGG
Copy link

I just updated Obsidian from v0.13.23 to v0.14.2 and obsidian-admonition from 6.11 to 9.0.

I used a fixed width page in Obsidian and used HTML   and   to space the title text to do things like so:

image

This still works with plain text but attempting to turn title text into a wikilink breaks everything like so:

image

I've verified that it is not caused by any of my snippets but am unsure of any other direct cause.
I've since rolled back to 6.11 and verified using wikilinks this way works with Obsidian v0.14.2

image

@valentine195
Copy link
Member

I fixed this, but in the future it might be better to do this via CSS - especially if you're using wikilinks.

.admonition-blank .admonition-title-content {
   display: flex;
}
.admonition-blank .admonition-title-content > .internal-link:first-child {
   margin-right: auto;
}

@ConchobarGG
Copy link
Author

Thanks for the quick fix and that snippet works perfectly, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants