메인 목록 썸네일 높이 안정화

This commit is contained in:
2026-06-08 10:43:51 +09:00
parent 28d95129c2
commit 7a357dcabc
10 changed files with 33 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ const getPostFeedArticleClass = (style) => {
*/
const getPostFeedExcerptClass = (style) => {
if (style === 'list') {
return 'post-summary-clamp post-summary-clamp--three'
return 'post-summary-clamp post-summary-clamp--two'
}
return 'post-summary-clamp post-summary-clamp--two'
@@ -505,7 +505,7 @@ watch([latestPosts, hasHomeInfeedAd], () => {
:to="post.to"
:title="post.title"
:featured-image="post.featuredImage"
:link-class="isPostFeedCards ? 'post-feed__media post-feed__media--cards mb-3 block aspect-video w-full' : 'post-feed__media post-feed__media--list relative flex-1 aspect-square min-w-16 sm:aspect-video'"
:link-class="isPostFeedCards ? 'post-feed__media post-feed__media--cards mb-3 block aspect-video w-full' : 'post-feed__media post-feed__media--list relative h-20 w-20 shrink-0 self-start aspect-square sm:h-auto sm:w-auto sm:flex-1 sm:shrink sm:self-auto sm:min-w-16 sm:aspect-video'"
:aspect-class="isPostFeedCards ? 'aspect-video' : 'aspect-square sm:aspect-video'"
/>
@@ -527,7 +527,7 @@ watch([latestPosts, hasHomeInfeedAd], () => {
<p
v-if="post.excerpt"
class="flex-1 text-[0.8rem] leading-tight site-muted text-[#6E6661]"
class="text-[0.8rem] leading-tight site-muted text-[#6E6661]"
:class="getPostFeedExcerptClass(postFeedStyle)"
>
{{ post.excerpt }}