Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal Card view #153

Closed
Juul1 opened this issue Jan 3, 2024 · 3 comments
Closed

Minimal Card view #153

Juul1 opened this issue Jan 3, 2024 · 3 comments
Assignees
Labels
Bug Something isn't working / doesn't look right

Comments

@Juul1
Copy link

Juul1 commented Jan 3, 2024

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

  • Device Type: Mac
  • Operating System: MacOS Sonoma
  • Prism version: 3.4.3
  • Color Schemes Used: Light
  • Obsidian Version: 1.5.3
  • Obsidian Installer Version: 1.4.13
  • Related Community plugins: In minimal it is working...

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

@Juul1 Juul1 added the Bug Something isn't working / doesn't look right label Jan 3, 2024
@Juul1
Copy link
Author

Juul1 commented Jan 4, 2024

@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
Copy link
Owner

damiankorcz commented Jan 30, 2024

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
Copy link
Author

Juul1 commented Jan 31, 2024

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

@Juul1 Juul1 closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working / doesn't look right
Projects
None yet
Development

No branches or pull requests

2 participants