Open foderking opened 2 years ago
For reference
You can add the following code snippet in .obsidian\snippets
. It could solve article header shrinkage following title.
/* 解决文章页眉跟随标题收缩 */
.workspace-leaf-content[data-type=markdown] .view-header-title-container {
width: 700px;
margin-top: auto;
height: auto;
padding: 0;
text-align: center;
}
You can add the following code snippet in
.obsidian\snippets
. It could solve article header shrinkage following title./* 解决文章页眉跟随标题收缩 */ .workspace-leaf-content[data-type=markdown] .view-header-title-container { width: 700px; margin-top: auto; height: auto; padding: 0; text-align: center; }
Don't forget to enable this code in Obsidian's settings.
This plugin is great!. but I noticed there's a lot of padding at the top of the text in the title part of the file. Is there a way to reduce it?