obsidian icon indicating copy to clipboard operation
obsidian copied to clipboard

Content width narrows as I increase the window/pane width

Open raulrpearson opened this issue 4 years ago • 1 comments
trafficstars

With a narrow window/pane, I get this:

narrower-means-wider

But as I make the window/pane wider, the content column becomes narrower:

wider-means-narrower

Is anybody else experiencing this? Is it due to something wrong with my setup?

This only seems to be an issue in edit mode, not in preview.

raulrpearson avatar Jun 20 '21 12:06 raulrpearson

If I remove these padding lines, it seems to improve the situation:

/* editor */

.cm-s-obsidian {
  font-family: var(--font-family-editor);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 8% !important;
  padding-right: 4% !important;
}

But I can see this 8%/4% pattern in several places. I'm not familiar with Obsidian styling and don't have much time to spend on this, so any tips welcome.

raulrpearson avatar Jun 20 '21 12:06 raulrpearson

Can't seem to reproduce. Is this issue still relevant?

Chrismettal avatar Sep 06 '22 20:09 Chrismettal

Not for me, I switched to a different theme. Feel free to close, thanks!

raulrpearson avatar Sep 06 '22 22:09 raulrpearson

Thanks for the feedback! Would still be nice to know if anyone can reproduce. Closing for now though.

Chrismettal avatar Sep 07 '22 14:09 Chrismettal