Skip to content

Commit cbccf3c

Browse files
committed
fix: image style
1 parent fefe480 commit cbccf3c

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

apps/web/app/components/admin/SpeakerList.vue

+6
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ const handleDialog = (id?: string) => {
4444
v-if="speaker.image_url"
4545
alt=""
4646
:src="speaker.image_url"
47+
:style="{
48+
width: '60px',
49+
height: '60px',
50+
borderRadius: '50%',
51+
objectFit: 'cover',
52+
}"
4753
width="60"
4854
height="60"
4955
decoding="async"

apps/web/app/components/admin/SponsorList.vue

+6
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ const handleDialog = (id?: string) => {
5353
v-if="sponsor.share_image_url"
5454
alt=""
5555
:src="sponsor.share_image_url"
56+
:style="{
57+
width: '60px',
58+
height: '60px',
59+
borderRadius: '50%',
60+
objectFit: 'cover',
61+
}"
5662
width="60"
5763
height="60"
5864
decoding="async"

apps/web/app/components/admin/StaffList.vue

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ const handleDialog = (id?: string) => {
3838
v-if="staff.image_url"
3939
alt=""
4040
:src="staff.image_url"
41+
:style="{
42+
width: '60px',
43+
height: '60px',
44+
borderRadius: '50%',
45+
objectFit: 'cover',
46+
}"
47+
width="60"
4148
height="60"
4249
decoding="async"
4350
/>

0 commit comments

Comments
 (0)