efemkay / obsidian-modular-css-layout

CSS Layout hack for Obsidian.md
https://efemkay.github.io/obsidian-modular-css-layout/
GNU General Public License v3.0
918 stars 74 forks source link

Bug: margins wrong when using blank line as divider instead of "blank" admonition #42

Open nousernameavailableanymore opened 1 year ago

nousernameavailableanymore commented 1 year ago

When using a blank line inside a "multi-column" admonition to split a new column, then there is virtually no margin between the columns.

Using

```ad-multi-column
Test 1 
Test 2
Test 3

Test 4
Test 5
looks like this.
![image](https://github.com/efemkay/obsidian-modular-css-layout/assets/45376324/69ff0e69-2ed4-4f89-a0ae-6627b46b01af)

While using "blank" as divider, columns look like this (which is what it should look like)
````ad-multi-column
```ad-blank
Test 1 
Test 2
Test 3
Test 4
Test 5


![image](https://github.com/efemkay/obsidian-modular-css-layout/assets/45376324/14325c97-efff-4bbb-80fe-bd47f47a8735)

Both ways should look identical / consistent and behave like the second example (ad-blank) to fully use the page width.