Properties in dataview (cards) slightly shifting to the right

Hey guys! Obsidian newbie here and I’ve come across something I can’t find a solution to. I’m building a media library using cards, but some of the properties aren’t properly aligned to the left, as they should by default. I’m using the Border theme with the Cards snippet.


Screenshot 2024-10-12 015113

As shown in the images, the titles and ratings in my book page are shifting right, while on my game page its the year instead. The code for both is basically the same.

table without id
	file.link as Title,
	book_author as Author,
	year as Year,
	rating as Rating
from "Media Library/Books"
sort book_code asc
table without id
	("![](" + game_cover + ")") as Cover,
	file.link as Title,
	game_dev as Developer,
	year as Year
from "Media Library/Games"
sort game_code asc

Things I have tried

I asked ChatGPT about this and writing my own snippet was the suggestion. No harm in trying, even though I know nothing of CSS, but I’d like to know first if this a known issue and if there’s an easy fix.

Apologies if this has been asked before and thank you.

What theme are you using?

Like I mentioned, I’m using Border by Akifyss.

You can try changing the theme or uninstall the dataview plugin and reinstall it.

Welp, switching to Minimal seems to fix it. The snippet is indeed from the Minimal repository so it makes sense, I just figured it would work the same across themes. Thanks :sweat_smile:

Glad to help :slightly_smiling_face:
The card snippet works great in the minimal theme.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.