damiankorcz / Prism-Theme

A Comprehensive, Highly-Customisable and Elegant Light/Dark Theme for Obsidian.md
https://www.buymeacoffee.com/DamianKorcz
MIT License
369 stars 13 forks source link

Minimal Card view #153

Closed Juul1 closed 6 months ago

Juul1 commented 7 months ago

Describe the bug A year ago I've added the card view from the minimal theme as a css snippet. This was working great before but since the last update of prism it isn't working anymore.

To Reproduce

  1. Dataview of books, movies etc.
  2. css class: "cards"

Expected behavior it should show a card view of the book covers/movie covers etc. but the cards are really small like 5%.

Screenshots

Minimal: image

Prism: image

Setup Information

Additional context [Add any other context about the problem here]

Juul1 commented 7 months ago

@damiankorcz I've tried different themes as well. But they have the same issue of the small cards, so it's only working with the minimal theme.

damiankorcz commented 6 months ago

Hi @Juul1, Considering you said that you've gotten the Minimal Cards snippet a year ago, could you try grabbing the following part of the Minimal theme into a new snippet to replace your current Cards snippet and see if that resolves the issue? https://github.com/kepano/obsidian-minimal/blob/master/src/css/main.css#L1947-L2254

I don't personally use the Dataview or the Minimal cards but as far as I can tell it should work fine with the above

Juul1 commented 6 months ago

Hi @damiankorcz, Thanks. I've found the adjusted snippet last week, but forgot to share it here. See youtube channel from PRAKASH JOSHI PAX. Link to snippet