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

Bug: change CSS property of "--line-height-normal" cause copy button misplaced #275

Open
boryun opened this issue Aug 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@boryun
Copy link

boryun commented Aug 3, 2024

Describe the bug

According to Obsidian Docs - CSS Variable Typography, we could change CSS property of "--line-height-normal" to control the line height of content. However, it seems that change this variable also cause code block copy button misplaced in my case.

Steps to reproduce

Create a new Obsidian CSS Snippets, add following lines:

.view-content > *:not(.inline-title) {
    --line-height-normal: 1.6em;
}

Reload Obsidian CSS Snippets.

Expected behaviour

under editing mode:

under reading mode:

Current behaviour

under editing mode:

under reading mode:

Environment

OS: Windows 10 Build 19045.4717
Obsidian Version: v1.6.7
Code Styler Plugin Version: 1.1.7

@boryun boryun added the bug Something isn't working label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants