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

Fix - added new css variable --embed-border-start to no-embed-border class #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Fire0nTop
Copy link

@Fire0nTop Fire0nTop commented Nov 4, 2024

On my system, the no-embed-border CSS class wasn't working initially.

The issue was that Obsidian was using a different CSS variable than expected. I added the correct variable,
and now it's working as intended.

I think it's because of an Obsidian update, but I'm not quite sure.

You might also want to add --embed-padding: 0px !important; below to remove the padding, making it flush with the page border.

This is how it looks now with the additional changes.
image

I also added the no-embed-title class to hide the embed title for a cleaner look, like this:
image

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

Successfully merging this pull request may close these issues.

1 participant