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

MCL Gallery Cards not working with Minimal theme > 7.6.8 #101

Open
chrsdk opened this issue Sep 4, 2024 · 2 comments
Open

MCL Gallery Cards not working with Minimal theme > 7.6.8 #101

chrsdk opened this issue Sep 4, 2024 · 2 comments

Comments

@chrsdk
Copy link

chrsdk commented Sep 4, 2024

Recent versions of Minimal theme cause image grids, created with

> [!blank-container|no-margin gallery] Title
>
> ![[path/to/pic1.jpg]]
> ![[path/to/pic2.jpg]]
>
> ![[path/to/pic3.png]]
> ![[path/to/pic4.png]]
> ![[path/to/pic5.png]]

to no longer fit on the line. Images have different heights and the image grid is cut off on the right edge of the screen.

The problem is not present with either the default theme or Minimal theme version 7.6.8.

@efemkay
Copy link
Owner

efemkay commented Sep 23, 2024

i cannot replicate your issue for now. here's screenshot on the markdown (as per snippet down below) of both using latest Minimal theme and default theme. the images are from unsplash.

image

> [!blank-container|no-margin gallery] Langkawi, Malaysia
>
> ![[ryaneof-Jh_Xk8RQtG0-unsplash.jpg]]
> ![[manish-tulaskar-o0TRwfgXhdw-unsplash.jpg]]
> 
> ![[izuddin-helmi-adnan-dIArrAUjQV0-unsplash.jpg]]
> ![[jay-tun-0dF2fJjTHCw-unsplash.jpg]]
> ![[ramzi-bezzoudji-WeiERYmWIT4-unsplash.jpg]]

perhaps you can share more details on how the problem looks like on your end

@chrsdk
Copy link
Author

chrsdk commented Oct 17, 2024

I've updated obsidian and minimal theme to the latest version and created a blank note with 4 pictures from unsplash just like you did.

> [!blank-container|no-margin gallery] Title
> ![[photo-1700830960459-90d4dd355b7b.jpeg]]
> ![[photo-1729016258424-317d0f05aa28.jpeg]]
> ![[photo-1728755696561-f8fd6ff03630.jpeg]]
> ![[photo-1727949649305-45f2ec799bd8.jpeg]]

This is how it looks in minimal theme:

Screenshot_20241017_084934_Obsidian.jpg

and this is how it looks in the default theme:

Screenshot_20241017_090315_Obsidian.jpg

As you can see, in minimal the images are displayed side by side running off the screen, while in the default theme they are displayed correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants