added font family

main
alexanderroese 2024-08-13 09:21:05 +02:00
parent 3b49e8b27a
commit 4e846fc399
2 changed files with 1 additions and 3 deletions

View File

@ -121,7 +121,7 @@
<button class="shx-custom-enhanced-dropdown-button" id="shx-custom-enhanced-dropdown-variant-select-button"> <button class="shx-custom-enhanced-dropdown-button" id="shx-custom-enhanced-dropdown-variant-select-button">
<div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none"> <div style="display: flex; justify-content: space-between; align-items: center; pointer-events: none">
<span id="shx-custom-enhanced-dropdown-variant-select-selected-value">{{ option.selected_value }}</span> <span id="shx-custom-enhanced-dropdown-variant-select-selected-value" style="font-family: var(--font-heading-family)">{{ option.selected_value }}</span>
<div style="display: flex; align-items: center; gap: 8px"> <div style="display: flex; align-items: center; gap: 8px">
{% for product_variant in product.variants %} {% for product_variant in product.variants %}

View File

@ -579,8 +579,6 @@
// show error message no emojis supported on this product variant // show error message no emojis supported on this product variant
if (!emojisSupported && value.length > 0 && emojiRegex.test(value)) { if (!emojisSupported && value.length > 0 && emojiRegex.test(value)) {
console.log("here", value, "doc", inputLabel)
inputLabel.textContent = 'Emojis werden bei diesem Typ nicht unterstützt. Bitte wechsle zu "Mit Hintergrund"'; inputLabel.textContent = 'Emojis werden bei diesem Typ nicht unterstützt. Bitte wechsle zu "Mit Hintergrund"';
inputLabel.style.color = 'red'; inputLabel.style.color = 'red';
} }