obsidian-modular-css-layout icon indicating copy to clipboard operation
obsidian-modular-css-layout copied to clipboard

List Card hashtag affecting all lists in a multi-column callout

Open FitzFrobozz opened this issue 11 months ago • 0 comments

I just noticed that when I apply #mcl/list-card or #mcl/list-card-wide to a list that is inside a multi-column callout, the entire parent callout is given the tag-mcllist-card (or -wide) class, which results in all lists anywhere within the multi-column callout (regardless of their proximity to the list or positions within various sub callouts, etc.) receiving the list card style.

I don't know if this is intended/expected behavior or not, but I don't see it mentioned in the docs and I haven't noticed similar behavior with the other snippets in the MCL collection.

I could look into adding some custom CSS to my snippet to override this, but I would appreciate getting some clarity on what to expect here, and, bonus, any suggestions for working around the issue.

FitzFrobozz avatar Mar 15 '24 19:03 FitzFrobozz