Skip to content

Commit 15e2f6c

Browse files
committed
Removed deprecated SLDS classes
1 parent 4a76925 commit 15e2f6c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/default/lwc/lookup/lookup.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
<!-- Display if results are present -->
8282
<template for:each={searchResultsLocalState} for:item="item" if:true={isExpanded}>
83-
<li key={item.result.id} role="presentation" class="slds-listbox__item">
83+
<li key={item.result.id} role="presentation">
8484
<span
8585
class={item.classes}
8686
role="option"
@@ -95,14 +95,14 @@
9595
></lightning-icon>
9696
</span>
9797
<span class="slds-media__body">
98-
<span class="slds-listbox__option-text slds-listbox__option-text_entity">
98+
<span class="slds-listbox__option-text_entity">
9999
<lightning-formatted-rich-text
100100
value={item.result.titleFormatted}
101101
disable-linkify
102102
>
103103
</lightning-formatted-rich-text>
104104
</span>
105-
<span class="slds-listbox__option-meta slds-listbox__option-meta_entity">
105+
<span class="slds-listbox__option-meta">
106106
<lightning-formatted-rich-text
107107
value={item.result.subtitleFormatted}
108108
disable-linkify
@@ -115,7 +115,7 @@
115115
</template>
116116
<!-- Display that there are no results -->
117117
<template if:false={isExpanded}>
118-
<li role="presentation" class="slds-listbox__item">
118+
<li role="presentation">
119119
<span class="slds-media slds-listbox__option_entity" role="option">
120120
<span if:false={loading} class="slds-media__body">No results.</span>
121121
<span if:true={loading} class="slds-media__body">Loading...</span>
@@ -137,7 +137,7 @@
137137
aria-label="Selected Options:"
138138
>
139139
<template for:each={selection} for:item="item">
140-
<li key={item.id} role="presentation" class="slds-listbox__item">
140+
<li key={item.id} role="presentation">
141141
<lightning-pill
142142
label={item.title}
143143
title={item.title}

0 commit comments

Comments
 (0)