Skip to content

Commit 9fcecc6

Browse files
fix: use icon prop
1 parent a4faa9f commit 9fcecc6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/NcNoteCard/NcNoteCard.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ const iconPath = computed(() => {
125125
<slot name="icon">
126126
<NcIconSvgWrapper :path="iconPath"
127127
class="notecard__icon"
128+
inline
128129
:class="{ 'notecard__icon--heading': heading }" />
129130
</slot>
130131
<div>
@@ -161,8 +162,6 @@ const iconPath = computed(() => {
161162
162163
&__icon {
163164
color: var(--note-theme);
164-
min-height: var(--note-card-icon-size);
165-
min-width: var(--note-card-icon-size);
166165
167166
&--heading {
168167
font-size: var(--note-card-icon-size);

0 commit comments

Comments
 (0)