Created
March 17, 2023 02:59
-
-
Save eoureo/fd7f89b5ff1e0f9dc2521b4f7e80aadf to your computer and use it in GitHub Desktop.
Make the width of the note lines into full-width. (노트 글 너비(width)를 100%로 만들기 (full-width))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. 노트의 frontmatter에 추가 (Add to the Frontmatter of the notes you want) | |
cssclass: my_style_width_100 | |
2. "Settings > Appearance > CSS Snippets"에 설정 (Set to "Settings > Appearance > CSS Snippets") | |
my_style.css에 추가 (Add to my_style.css) | |
*/ | |
/* Editing View */ | |
.my_style_width_100 .cm-sizer, | |
.my_style_width_100 .cm-sizer .cm-contentContainer .cm-content, | |
.my_style_width_100 .cm-sizer .cm-contentContainer .cm-content .cm-line, | |
/* Reading View */ | |
.my_style_width_100 .markdown-preview-sizer.markdown-preview-section, | |
.my_style_width_100 .markdown-preview-sizer.markdown-preview-section > div | |
{ | |
max-width: 100% !important; | |
width: 100% !important; | |
margin-left: initial !important; | |
margin-right: initial !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Obsidian 노트 글 너비를 100%로 만들기 (full-width)에 자세한 설명을 올립니다.