Skip to content

Commit

Permalink
feat(NcRichText): Support icon class for smart picker integrations
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Mar 13, 2023
1 parent 68ac78f commit dee4d50
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="result">
<img class="result--image"
<div v-if="entry.icon" :class="{ [entry.icon]: true, rounded: entry.rounded }" class="result--icon-class" />
<img v-else class="result--image"
:class="{ rounded: entry.rounded }"
:src="entry.thumbnailUrl">
<div class="result--content">
Expand Down Expand Up @@ -49,6 +50,7 @@ export default {
height: 44px;
overflow: hidden;
&--icon-class,
&--image {
width: 40px;
min-width: 40px;
Expand Down

0 comments on commit dee4d50

Please sign in to comment.