Dashboard++ CSS –

What I’m trying to do

Hey guys, having some trouble getting the Dashboard++ Read Line Length css file to work in Minimal theme Obsidian 1.4.5. This css file is supposed to show 100% across even if Readable Line Length is enabled. However, even with both sidebars closed, the dashboard still only shows two columns. When I disable Readable Line Length, it shows the full four colums across.

Here’s the css from Dashboard++:

.dashboard .markdown-preview-section {
width: 100% !important;
max-width: 100% !important;
}

Things I have tried

Turned off different plugins but doesn’t seem to expand the width of the Home page.

Anyone know what might be going on here? Thanks in advance for the help!

Hmm. This snippet is working for me in Reading view using the Minimal theme (Readable Line Length → ON).

CleanShot 2023-09-07 at 03.56.38


If you can’t get that snippet working (and with it off), Minimal has Helper classes - Minimal Documentation 36 that you could use here. In your YAML, include the max cssclass:

Try:

---
cssclasses:
  - dashboard
  - max
---

This will change the width of Source, Live Preview, and Reading modes, but as it’s a dashboard note, it could be workable.

The max value solved the problem for me. Thank you! Super helpful.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.