select with images

main
alexanderroese 2024-07-18 17:32:48 +02:00
parent e62137cd7a
commit 46a7c7c1b9
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@
customDropdownHtml += `
<div data-value="${optionValue}" class="${inputVal === optionValue ? 'shx-custom-enhanced-dropdown-variant-selected' : ''}" onclick="onFontDropdownItemClick(event)" style="height: 60px">
<div style="height: 100%">
<img src="${getCustomEnhancedDropdownItemFontAssetUrl(optionValue)}" alt="${optionDisplayName}" style="height: 100%; width: 100%" />
<img src="${getCustomEnhancedDropdownItemFontAssetUrl(optionValue)}" alt="${optionDisplayName}" style="height: 90%; width: 100%" />
</div>
</div>
`