tnichols217 / obsidian-columns

GNU General Public License v3.0
200 stars 9 forks source link

Large spaces in Live Preview vs. Reading Mode [BUG: Internal] #24

Closed ryadaj closed 2 years ago

ryadaj commented 2 years ago

Describe the bug

There are large spaces beneath headings and between list items in Live Preview vs. Reading Mode.

Steps To Reproduce

Here is my snippet (I don't know how to do the nested ```` in GitHub)

## :rif_draft: Field Notes

- Courses, CPD — **`Course about X with First Last on YYYY-MM-DD or in Term Year`**
- Entmoots — **`Entmoot about X or Project Name with First Last/Group on YYYY-MM-DD`**
- Events (physical, virtual) — **`Event Name on YYYY-MM-DD`**
- Feedback — **`Feedback on Project Name`**
## :rif_leaf: In the Wild

- Books — **`Title by First Last`**
- Media— **`Title by First Last`**
- Poems — **`Title by First Last`**
- Quotes (good writing, idioms, proverbs) — **`summary`**
## :fas_inbox: Inbox

- Fleeting notes
- Notes in progress
- Random

Expected behavior

Normal spacing

Screenshots

Screen Shot 2022-06-15 at 12 05 36 Screen Shot 2022-06-15 at 12 05 33 Screen Shot 2022-06-15 at 12 11 52

System Info

OS: Mac OS X Monterey 12.4 Obsidian Version: Insider 0.15 Plugin Version: 1.1.7

ryadaj commented 2 years ago

This wasn't happening before I updated to 1.1.7

tnichols217 commented 2 years ago

Fixed in commit d065bf3 version 1.1.8

By using

.columnParent {
    white-space: normal;
}

.cm-preview-code-block .admonition-content .columnParent p {
    white-space: pre-wrap;
}

snippet