sdadas
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-29 01:57:49 +02:00
parent 00c879d029
commit 9e687455fa
3 changed files with 65 additions and 13 deletions

View File

@@ -579,7 +579,9 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
<label class="setup-field muted">
<span>Bevorzugte Waehrungen</span>
<div class="fx-setup-picker" data-fx-multi-picker data-currencies='<?= e(is_string($fxCatalogJson) ? $fxCatalogJson : '[]') ?>'>
<div class="fx-setup-tags" data-fx-tags>
<input type="text" value="" placeholder="Waehrung suchen und hinzufuegen" autocomplete="off" data-fx-multi-input>
<div class="fx-setup-suggestions" data-fx-multi-suggestions hidden></div>
<div class="fx-setup-tags fx-setup-tags--stacked" data-fx-tags>
<?php foreach ($fxPreferred as $code): ?>
<?php if (!isset($fxCatalogOptions[$code])) { continue; } ?>
<span class="fx-setup-tag" data-code="<?= e($code) ?>">
@@ -589,8 +591,6 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
<input type="hidden" name="preferred_currencies[]" value="<?= e($code) ?>" data-code-hidden="<?= e($code) ?>">
<?php endforeach; ?>
</div>
<input type="text" value="" placeholder="Waehrung suchen und hinzufuegen" autocomplete="off" data-fx-multi-input>
<div class="fx-setup-suggestions" data-fx-multi-suggestions hidden></div>
</div>
<small class="muted">Tippen, Treffer anklicken und zur Liste hinzufuegen.</small>
</label>
@@ -911,15 +911,24 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
gap: 8px;
}
.fx-setup-tags--stacked {
min-height: 44px;
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface-strong);
}
.fx-setup-tag {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 30px;
padding: 6px 10px;
border: 1px solid var(--line);
border-radius: 999px;
background: color-mix(in srgb, var(--brand-accent) 10%, var(--surface-strong));
font-size: 0.88rem;
border-radius: 10px;
background: #fff;
font-size: 0.86rem;
font-weight: 700;
}
@@ -944,7 +953,7 @@ $activeDbGroup = $testGroup !== null && array_key_exists($testGroup, $dbGroups)
margin-top: 4px;
padding: 8px;
border: 1px solid var(--line);
border-radius: 14px;
border-radius: 12px;
background: var(--surface-strong);
box-shadow: 0 16px 35px rgba(1, 22, 32, 0.14);
max-height: 280px;