select with images

main
alexanderroese 2024-07-18 07:40:56 +02:00
parent 4fb2bc715c
commit e9da9ed6ed
1 changed files with 1 additions and 2 deletions

View File

@ -592,7 +592,6 @@
} }
function getCustomEnhancedDropdownItemFontAssetAltTag(fontName) { function getCustomEnhancedDropdownItemFontAssetAltTag(fontName) {
console.log("getCustomEnhancedDropdownItemFontAssetAltTag", fontName)
return fontName.split(".")[0] return fontName.split(".")[0]
} }
@ -657,7 +656,7 @@
<button class="shx-custom-enhanced-dropdown-button" onclick="toggleCustomEnhancedDropdownFont()"> <button class="shx-custom-enhanced-dropdown-button" onclick="toggleCustomEnhancedDropdownFont()">
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none; height: 40px"> <div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none; height: 40px">
<div style="top: 2px; width: 120px; display: flex; justify-content: center; align-items: center; position: relative;"> <div style="top: 2px; width: 120px; display: flex; justify-content: center; align-items: center; position: relative;">
<img id="shx-custom-enhanced-dropdown-font-select-selected-value" alt="lade..."></img> <img id="shx-custom-enhanced-dropdown-font-select-selected-value" alt="lade..." style="height: 28px"></img>
</div> </div>
<div style="display: flex; align-items: center; gap: 8px"> <div style="display: flex; align-items: center; gap: 8px">