added font family
parent
3b49e8b27a
commit
4e846fc399
|
@ -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 %}
|
||||||
|
|
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue