chore: increase the album image size.

This commit is contained in:
Yufan Sheng 2024-12-04 23:03:35 +08:00
parent 00e6d2b93f
commit f042c66496
Signed by: syhily
GPG Key ID: DEB186763C308C31

View File

@ -34,7 +34,7 @@ const calculateCroppedHeight = (width: number, height: number, croppedWidth: num
{album.description && <Fragment set:html={album.description} />} {album.description && <Fragment set:html={album.description} />}
<div class="row g-2 g-md-3 g-xxl-4 list-grouped album"> <div class="row g-2 g-md-3 g-xxl-4 list-grouped album">
{album.pictures.map((picture, index) => ( {album.pictures.map((picture, index) => (
<div class={index === 0 ? 'col-12 col-md-8 col-xl-6' : 'col-6 col-md-4 col-xl-3'}> <div class={index === 0 ? 'col-12 col-md-8 col-xl-8' : 'col-6 col-md-4 col-xl-4'}>
<div class="list-item list-nice-overlay"> <div class="list-item list-nice-overlay">
<div class={`media ${index === 0 ? 'media-36x17' : ''}`}> <div class={`media ${index === 0 ? 'media-36x17' : ''}`}>
<a <a