Fix sizing and header alignment
Some checks failed
Check & deploy / validate (push) Failing after 7m47s
Check & deploy / deploy (push) Has been skipped

This commit is contained in:
Andras Schmelczer 2026-06-09 21:57:43 +01:00
parent 11ab27d5f4
commit f1add7a639
4 changed files with 23 additions and 53 deletions

View file

@ -116,9 +116,7 @@ const renderThumbnail = (photo, isCurrent) => {
</a>`;
};
const renderFrame = (
photo
) => `<figure class="frame-figure" style="--frame-ratio:${photo.aspectRatio}">
const renderFrame = (photo) => `<figure class="frame-figure">
${renderPicture(
photo,
frameSizes(photo),