Open vkbytes opened 1 year ago
hey @vkbytes,
two-column-list-block
) but we can have frontmatter style declaration. below is a quick snippet for you to make it work with the above dataview query. Perhaps i might include in the later updatehere's the css. save it somewhere
.dv-sublist-cols ul.dataview.list-view-ul > li > ul {
columns: 10rem;
column-gap: 2rem;
}
here's a sample markdown
---
cssClass: dv-sublist-cols
---
```dataview
list rows.file.link
from #PermanentNote
FLATTEN file.etags as tags
GROUP BY tags
SORT Modified DESC
here's what it looks like
![image](https://github.com/efemkay/obsidian-modular-css-layout/assets/42369515/9c30b6d5-c8f7-4f42-b31e-d670f1c3a9e9)
I have a dataview query which returns a list of files grouped by
tags
. I want to apply atwo-column-list-block
or athree-column-list-block
based on the group by tags such that each#TAG
is a list with the files as its sublist. The query is on a note below a a H2 Header. Looks like this not possible. However I see that the dashboard++ script does this correctly.Example:
Testing a List of Tags