From 270b1f677b44b674028c56d79ad272bd1a9a4bb7 Mon Sep 17 00:00:00 2001 From: pronist Date: Thu, 25 Jul 2024 20:36:25 +0900 Subject: [PATCH] Update image styles --- assets/mixins/Main/Permalink/Footer/Author.pug | 2 +- assets/mixins/Main/Reply/List.pug | 2 +- views/Main/Post/Popup.pug | 2 +- views/Sidebar/Profile.pug | 6 +++--- views/Top.pug | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/mixins/Main/Permalink/Footer/Author.pug b/assets/mixins/Main/Permalink/Footer/Author.pug index 441cf38..e67b626 100644 --- a/assets/mixins/Main/Permalink/Footer/Author.pug +++ b/assets/mixins/Main/Permalink/Footer/Author.pug @@ -5,7 +5,7 @@ width='80' height='80' alt='[##_blogger_##]' - class='lazyload rounded-full w-20 h-20') + class='lazyload rounded-full object-cover w-20 h-20') .profile(class='flex flex-col gap-y-1') .blogger(class='text-h-800 dark:text-h-200 font-bold') [##_blogger_##] .desc(class='leading-7 text-sm text-h-400') [##_desc_##] diff --git a/assets/mixins/Main/Reply/List.pug b/assets/mixins/Main/Reply/List.pug index a1a7a1d..69b8d95 100644 --- a/assets/mixins/Main/Reply/List.pug +++ b/assets/mixins/Main/Reply/List.pug @@ -8,7 +8,7 @@ mixin comment(type, replyable=true) data-sizes='auto' width='48' height='48' - class='lazyload rounded-full') + class='lazyload rounded-full object-cover w-12 h-12') .info .name(class='text-sm font-bold text-h-600 dark:text-h-200 [&_img]:hidden') #{`[##_${type}_rep_name_##]`} time.date(class='text-h-400 text-xs') #{`[##_${type}_rep_date_##]`} diff --git a/views/Main/Post/Popup.pug b/views/Main/Post/Popup.pug index 0b30741..54344b0 100644 --- a/views/Main/Post/Popup.pug +++ b/views/Main/Post/Popup.pug @@ -21,7 +21,7 @@ mixin popup(type) alt='' width='96' height='96' - class='w-24 h-24') + class='w-24 h-24 object-cover') .content(class='relative w-64 p-4 border-box flex flex-col gap-y-2 bg-h-200 dark:text-h-200 dark:bg-h-700') button.close( @click='open = ! open' diff --git a/views/Sidebar/Profile.pug b/views/Sidebar/Profile.pug index 6cae835..c6e7f3b 100644 --- a/views/Sidebar/Profile.pug +++ b/views/Sidebar/Profile.pug @@ -1,10 +1,10 @@ #profile.el(class='text-center flex flex-col items-center my-4') img.thumb( src='[##_image_##]' - width='100' - height='100' + width='96' + height='96' alt='[##_blogger_##]' - class='rounded-full') + class='rounded-full w-24 h-24 object-cover') .tit a.link( href='[##_blog_link_##]' diff --git a/views/Top.pug b/views/Top.pug index 7f0eace..57a01a4 100644 --- a/views/Top.pug +++ b/views/Top.pug @@ -6,7 +6,7 @@ .img img.thumb( @click='sidebar = ! sidebar' - class='lazyload rounded-full w-9 h-9 cursor-pointer xl:invisible' + class='lazyload rounded-full w-9 h-9 cursor-pointer object-cover xl:invisible' data-src='[##_image_##]' data-sizes='auto' alt='[##_blogger_##]'