First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.
What I’m trying to do
This is my dataview query. It works well. But with cssclasses property as cards, it shows images with whitespaces (left and right) and only 4 images in a row.
TABLE WITHOUT ID
status as Status,
"![|60](" + cover + ")" as Cover,
link(file.link, title) as Title,
authors as Author
FROM #book
WHERE !contains(file.path, "Templates")
SORT status DESC, file.ctime ASC
I’m using the minimal theme. It has by default “cards” feature.
I just added in the property section: cssclasses - cards. I saw videos of people using this feature so I tried to adjust the appearance to “cards” view. But I’m getting the whitespaces on left and right of the image.
No, sorry, I don’t know enough about Obsidian’s or Minimal’s CSS. I just knew that someone who does would need the info that wasn’t in the original post.
To be able to check and possibly help, someone would need the folder and/or tag structure that you/someone has set up, the notes and images the query is pulling from, etc.
That’s not a quick “let’s check this in my vault”. It requires a lot of setup on the side of anyone trying to help.