Created
December 30, 2021 19:41
-
-
Save kjentech/09d0e71fb2f51be817d5a7c121f0ab1a to your computer and use it in GitHub Desktop.
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
/* Left-Align CSS for Obsidian (Live Preview) */ | |
/* Required for use: Disable "Readable Line Length" (this snippet will replicate its function but more customizable) */ | |
/* CodeMirror 6 changes some of the divs used for content in Obsidian, so this snippet just use the newest */ | |
/* Live Preview */ | |
.cm-content { | |
margin-left: 0; | |
max-width: 80%; | |
} | |
/* Reading Mode */ | |
.markdown-preview-sizer.markdown-preview-section { | |
margin-left: 0; | |
max-width: 80%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very nice! It helped me a lot!