File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const { panelEventPanelers } = props.data as Panelers
2828 <PanelerList :panelers =" panelEventPanelers.list['welcome-vuejs-community']" />
2929 </EventCard >
3030 <EventCard id =" handson" title =" vuejs-handson" >
31- <EventMultipleAssets :title-list =" ['vuejs-handson', 'vuejs-handson']" />
31+ <EventMultipleAssets :title-list =" ['vuejs-handson', 'vuejs-handson']" :img-height = " 256 " />
3232 </EventCard >
3333 <div class =" event-body-column column-2" >
3434 <EventCard title =" creative-wall" font-class =" title-2" padding-class =" content-2" >
Original file line number Diff line number Diff line change @@ -3,13 +3,19 @@ import type { Event } from '@vuejs-jp/model'
33
44interface EventMultipleAssetsProps {
55 titleList: Extract <Event , ' vuejs-handson' | ' cocktail-bash' >[]
6+ imgHeight? : number
67}
78
89const props = defineProps <EventMultipleAssetsProps >()
910 </script >
1011
1112<template >
12- <div class =" eventcard-images" >
13+ <div
14+ class =" eventcard-images"
15+ :style =" {
16+ '--head-img-height': `${imgHeight}px`,
17+ }"
18+ >
1319 <img v-for =" (title, key) in titleList" :key :src =" `/event/${title}-${key + 1}.png`" alt =" " />
1420 </div >
1521</template >
@@ -29,8 +35,6 @@ const props = defineProps<EventMultipleAssetsProps>()
2935}
3036
3137.eventcard-images ::v-deep(img ) {
32- --head-img-height : 256px ;
33-
3438 padding : 0 ;
3539 margin : 0 auto ;
3640 height : var (--head-img-height );
You can’t perform that action at this time.
0 commit comments