flatpressblog / flatpress

FlatPress is a lightweight, easy-to-set-up flat-file blogging engine.
https://flatpress.org
GNU General Public License v2.0
185 stars 57 forks source link

Gallery previews of the Photoswipe plugin do not fit in the FlatMaas Revisited and Leggero-v2 style #127

Closed Fraenkiman closed 2 years ago

Fraenkiman commented 2 years ago

Hello, everyone.

Similar to the Isseu 122, it is displayed in the gallery preview. In the Leggero style it looks very good so far. In the style FlatMaas Revisited and Leggero-v2, the gallery previews do not match the text. “Slightly” distorted. I used the following syntax: [gallery=”images/001-AGH-DNS/” height=”100”].

It is even more noticeable in other elevations. Apparently, the image text alignment is bound to a width of 140px of the gallery thumbnails.

FlatMaas Revisited Gallery-Thumb-FlatMaas Revisited

Leggero-v2 Gallery-Thumb-Leggero-v2

Leggero Gallery-Thumb-Leggero

From the same page a single photo swipe image is included. [img="images/003-AGH-Whitelist/whitelist-rpi.png" width="200" title="DNS-Positivlisten"] The behavior also occurs when all extra plugins except standard are disabled. FlatPress fp-1.3.dev Default branch version master

Best regards

azett commented 2 years ago

Hi, could you please test this again with 97fdec4? :)

Fraenkiman commented 2 years ago

You’re awesome! Works very well in all 3 styles! Tested with Chrome version 103.0.5060.66, MS Edge, version 103.0.1264.37 and Safari (iOS 15.5).

azett commented 2 years ago

:)