bobbingwide / sb

SB: Second Byte - Seriously Bonkers' experimental Full Site Editing theme
GNU General Public License v3.0
0 stars 0 forks source link

Images incorrectly sized on the home page #40

Open bobbingwide opened 5 months ago

bobbingwide commented 5 months ago

image

This happened before when I used the block editor. The most recent update I did was to the categories. I reckon there's something wrong with the site editor but haven't analyzed it yet.

<ul class="sb thumbnail wp-block-post-template is-layout-grid wp-container-core-post-template-layout-35 wp-block-post-template-is-layout-grid"><li>
<figure class="wp-block-post-featured-image is-layout-grid wp-container-core-post-template-layout-3 wp-block-post-template-is-layout-grid">
<a href="https://seriouslybonkers.com/bigram/spoon-blade/" target="_self">
<img loading="lazy" width="1024" height="1024" src="https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Spoon Blade" style="object-fit:cover;" decoding="async" srcset="https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade.png 1024w, https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade-400x400.png 400w, https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade-150x150.png 150w, https://seriouslybonkers.com/wp-content/uploads/2024/03/Spoon-Blade-768x768.png 768w" sizes="(max-width: 1024px) 100vw, 1024px"></a>
</figure>
<h3 class="wp-block-post-title has-medium-font-size"><a href="https://seriouslybonkers.com/bigram/spoon-blade/" target="_self">Spoon Blade</a></h3>
</li>
...
</ul>
bobbingwide commented 5 months ago

I fixed it on the live site by editing the .html templates and uploading them in sb v0.5.0

The problem still exists in the site editor. I haven't investigated it further.