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
935 stars 74 forks source link

Multi column list grid is broken with last update #34

Closed oliviercarizzoni closed 1 year ago

oliviercarizzoni commented 1 year ago

The following snippet taken from documentation no longer works:

- #### Core Work #mcl/list-grid 
    - [[00 Home|Main Goal 1]]
    - [[00 Home|Main Goal 1]]
    - [[00 Home|Main Goal 1]]
        - Collaboration with Jane
    - [[00 Home|Main Goal 1]]
- #### Learning & System
    - [[00 Home|Learning Goal 1]]
    - [[00 Home|Initiative 1]]
    - [[00 Home|Initiative 2]]
- #### Personal
    - [[00 Home|Personal Goal 1]]
    - [[00 Home|Personal Goal 2]]

Current version

image

Previous version

image

efemkay commented 1 year ago

@oliviercarizzoni just to confirm, when u say updated, u mean the snippets right? (coz the obsidian also just had a public release as well)

if so, most likely you have obsidian with previous installer. the latest snippet require installer to be v1.1.9 or higher as i now use the new css :has() selector (you would need to redownload obsidian installer from their website and just rerun it. do backup your files.

for clarity, in the obsidian's About section, you can see the following screenshot. note that there's two version appear there. it's important the bottom one says v1.1.9 or higher image

let me know if this doesn't resolve your issue

oliviercarizzoni commented 1 year ago

Thanks for your detailed answer, I will check that and make some tests and get back to you asap !

Regards, Olivier

efemkay commented 1 year ago

i'm marking this as closed. do open up new issue if somehow it persists

ssemenova commented 1 year ago

I have this issue as well. My obsidian and installer version are both 1.3.7

efemkay commented 1 year ago

@ssemenova can u give a screenshot of the raw markdown. preferably like mine below

but in case u missed the docs, here are few notes 1) it works only in reading view. obsidian has 3 view states editing view (i.e. source mode and live preview) and reading view. https://help.obsidian.md/Editing+and+formatting/Editing+and+previewing+Markdown#Live+Preview 2) if you want it to work in Live Preview, then you would have to wrap it in blank callout https://efemkay.github.io/obsidian-modular-css-layout/multi-column/04-blank-callout/

image

ssemenova commented 1 year ago

Thank you for getting back to me! Here's the screenshot:

Screen Shot 2023-08-17 at 1 55 20 PM

Left is reading mode, right is live preview. Could this just be a problem with my theme?

oliviercarizzoni commented 11 months ago

I no longer have the problem, seems to be fixed for me.

Something odd seeing the screenshot: have you stretched the window enough to have blocs side by side ?

Otherwise maybe you should try incrementally: deactivate plugins and theme and css snippets and then test step by step ! Let us know