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 <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Mar 13, 2023
1 parent 68ac78f commit 80c9937
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<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 +52,7 @@ export default {
height: 44px;
overflow: hidden;
&--icon-class,
&--image {
width: 40px;
min-width: 40px;
Expand Down

0 comments on commit 80c9937

Please sign in to comment.