Skip to content

Commit

Permalink
Update image styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pronist committed Jul 25, 2024
1 parent a9febe9 commit 270b1f6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/mixins/Main/Permalink/Footer/Author.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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_##]
Expand Down
2 changes: 1 addition & 1 deletion assets/mixins/Main/Reply/List.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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_##]`}
Expand Down
2 changes: 1 addition & 1 deletion views/Main/Post/Popup.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions views/Sidebar/Profile.pug
Original file line number Diff line number Diff line change
@@ -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_##]'
Expand Down
2 changes: 1 addition & 1 deletion views/Top.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.img
img.thumb(
@click='sidebar = ! sidebar'
class='lazyload rounded-full w-9 h-9 cursor-pointer <s_if_var_sidebar>xl:invisible</s_if_var_sidebar>'
class='lazyload rounded-full w-9 h-9 cursor-pointer object-cover <s_if_var_sidebar>xl:invisible</s_if_var_sidebar>'
data-src='[##_image_##]'
data-sizes='auto'
alt='[##_blogger_##]'
Expand Down

0 comments on commit 270b1f6

Please sign in to comment.