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

With the "Obsidian Minimal" theme, linked mentions have a large amount of whitespace #43

Open
upnix opened this issue Dec 22, 2024 · 3 comments

Comments

@upnix
Copy link

upnix commented Dec 22, 2024

A large amount of whitespace when in a secondary Obsidian window.

The Obsidian Minimal theme

To replicate:

  1. Make sure you're using the "Minimal"
  2. Open a new Obsidian window (Right click a note -> Open in new window)
  3. Open a note that has at least one link.
  4. Take a look at the "Linked mentions" section

Screenshot:
image

This only occurs in a secondary Obsidian window, and is only a problem when the "Minimal" theme is being used.

@jtplatt99
Copy link

I'm also experiencing this issue with excessive whitespace in a secondary Obsidian window on the Obsidian "Default" theme.

@jtplatt99
Copy link

Haven't fully checked for adverse effects elsewhere, but I was able to fix the whitespace by adding the following to my Obsidian CSS snippets:

.markdown-preview-view {
    height: auto;
}

@upnix
Copy link
Author

upnix commented Jan 30, 2025

Haven't fully checked for adverse effects elsewhere, but I was able to fix the whitespace by adding the following to my Obsidian CSS snippets:

.markdown-preview-view {
    height: auto;
}

Looking great so far, thank you @jtplatt99 !

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