obsidian-minimal
obsidian-minimal copied to clipboard
how to set the specific page that using the self cssclasses own self line width, and not affect other obsidian doc's linewidth
Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
No
Minimal theme version
7.3.0
Describe the bug
I am working on making my homepage, and set its' self cssclasses, .myhome cssstyles, my demand is it own self linewidth showing, and not affect other obsidian doc's linewidth.
I wrote the below code in my myhome.css file, it affect global doc showing。but I just want to change the one doc page, homepage.
how would change the below code to achieve my goals? please help me, thx. all bros.
.myhome, body { --file-line-width: 100% !important; --max-width: var(--file-line-width) !important; --line-width: var(--file-line-width) !important; }
Debug info
I am working on making my homepage, and set its' self cssclasses, .myhome cssstyles, my demand is it own self linewidth showing, and not affect other obsidian doc's linewidth.
I wrote the below code in my myhome.css file, it affect global doc showing。but I just want to change the one doc page, homepage.
how would change the below code to achieve my goals? please help me, thx. all bros.
.myhome, body { --file-line-width: 100% !important; --max-width: var(--file-line-width) !important; --line-width: var(--file-line-width) !important; }