-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Strange block that hides top of the page in edit mode #47
Comments
I am also having this issue on Ubuntu 20.04 This is my favorite theme by far and I do a lot of coding so I would like this to be fixed as well! |
I am also having the exact same issue, anyone any tips? |
I just ran into this problem too, maybe it's because I don't know how to write with this style of code block. .cm-s-obsidian pre.HyperMD-codeblock {
color: var(--text-sub-accent);
}
.cm-s-obsidian div.HyperMD-codeblock-bg {
background-color: #191621;
}
.cm-s-obsidian div.HyperMD-codeblock-begin-bg {
border-top-left-radius: 0.3em;
border-top-right-radius: 0.3em;
border: none;
}
.cm-s-obsidian div.HyperMD-codeblock-begin-bg:before {
position: absolute;
content: '';
top: -5%;
left: 0;
width: 100%;
height: 60%;
border-top-left-radius: 0.3em;
border-top-right-radius: 0.3em;
background-color: #191621;
} Of course if there is a way to do this without changing the source code, or if this is a bug, please let me know, thank you very much! |
This works OK. However, by changing only next line works for me too (commented in this issue): .cm-s-obsidian div.HyperMD-codeblock-begin-bg:before {
- position: absolute;
+ position: relative; |
### New Diamonds 💎 - Removed all the old `Cluster Free` code (please move to `live preview` mode) - Added support for `live preview` mode [#44] - Supporting all the features that is there fore for live preview ### Fixes - Problem with code block should no longer exist with `live preview` [#52] - Images now align to left, fixed issue with image having no spaces between list items [#50][#34] - Fixed issue with strange block that hides top of the page in edit mode with `live preview` [#47] - Fixed bullet point not visible in view mode [#45] - Fixed bullet lists in edit mode not compatible with different fonts [#32]
Hi,
There is strange block that hides top of the page in edit mode:
Only visible with this theme.
When in preview mode it disapears.
The text was updated successfully, but these errors were encountered: