Fix sizing and header alignment
This commit is contained in:
parent
11ab27d5f4
commit
f1add7a639
4 changed files with 23 additions and 53 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue