Skip to content

Commit 97799bd

Browse files
committed
Increase size of placeholder icon
1 parent cebfec6 commit 97799bd

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

contentcuration/contentcuration/frontend/shared/views/ContentNodeLearningActivityIcon.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
<KLabeledIcon
1818
:icon="icon(activity)"
1919
:label="text(activity)"
20+
:style="iconStyle"
2021
/>
2122
</div>
2223
<div v-else>
2324
<KLabeledIcon
2425
:icon="icon(activity)"
2526
:label="text(activity)"
27+
:style="iconStyle"
2628
/>
2729
</div>
2830
</span>
@@ -35,6 +37,7 @@
3537
:icon="icon('multiple')"
3638
:aria-label="text('multiple')"
3739
data-test="multiple-activities-icon"
40+
:style="iconStyle"
3841
/>
3942
</span>
4043
<!--otherwise, display one or more activities individually, each with its own icon -->
@@ -45,6 +48,7 @@
4548
data-test="icon-only"
4649
:icon="icon(activity)"
4750
:aria-label="text(activity)"
51+
:style="iconStyle"
4852
/>
4953
</span>
5054
</span>
@@ -85,6 +89,10 @@
8589
type: Boolean,
8690
default: false,
8791
},
92+
iconStyle: {
93+
type: Object,
94+
default: () => ({}),
95+
},
8896
},
8997
computed: {
9098
activities() {

contentcuration/contentcuration/frontend/shared/views/RecommendedResourceCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
</KFixedGrid>
5252
</template>
5353
<template #thumbnailPlaceholder>
54-
<ContentNodeLearningActivityIcon :learningActivities="learningActivities" />
54+
<ContentNodeLearningActivityIcon
55+
:learningActivities="learningActivities"
56+
:style="{ fontSize: '32px' }"
57+
/>
5558
</template>
5659
</KCard>
5760

0 commit comments

Comments
 (0)